From 0f8d5fc8bae0f20fa870dc5eda778aee12ccbda8 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 8 Jun 2018 14:02:02 -0700 Subject: fixes #509 We need "relative" IPC URLs This special cases the URL parser for inproc and IPC urls, changing so that they no longer parse the thing after the :// as anything special. This allows IPC URLs to be relative. --- src/transport/ipc/ipc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/transport/ipc') diff --git a/src/transport/ipc/ipc.c b/src/transport/ipc/ipc.c index 88e11fb1..6191dea6 100644 --- a/src/transport/ipc/ipc.c +++ b/src/transport/ipc/ipc.c @@ -628,10 +628,6 @@ nni_ipc_ep_init(void **epp, nni_url *url, nni_sock *sock, int mode) int rv; size_t sz; - if (((url->u_host != NULL) && (strlen(url->u_host) > 0)) || - (url->u_userinfo != NULL)) { - return (NNG_EINVAL); - } if ((ep = NNI_ALLOC_STRUCT(ep)) == NULL) { return (NNG_ENOMEM); } -- cgit v1.2.3-70-g09d2