aboutsummaryrefslogtreecommitdiff
path: root/src/core/dialer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dialer.c')
-rw-r--r--src/core/dialer.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/dialer.c b/src/core/dialer.c
index 5e44cbff..dfa198c5 100644
--- a/src/core/dialer.c
+++ b/src/core/dialer.c
@@ -454,9 +454,6 @@ nni_dialer_setopt(
{
nni_option *o;
- if (strcmp(name, NNG_OPT_URL) == 0) {
- return (NNG_EREADONLY);
- }
if (strcmp(name, NNG_OPT_RECONNMAXT) == 0) {
int rv;
nni_mtx_lock(&d->d_mtx);
@@ -533,13 +530,6 @@ nni_dialer_getopt(
return (o->o_get(d->d_data, valp, szp, t));
}
- // We provide a fallback on the URL, but let the implementation
- // override. This allows the URL to be created with wildcards,
- // that are resolved later.
- if (strcmp(name, NNG_OPT_URL) == 0) {
- return (nni_copyout_str(d->d_url.u_rawurl, valp, szp, t));
- }
-
return (nni_sock_getopt(d->d_sock, name, valp, szp, t));
}