aboutsummaryrefslogtreecommitdiff
path: root/src/transport/ipc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-06-08 14:02:02 -0700
committerGarrett D'Amore <garrett@damore.org>2018-06-08 14:10:01 -0700
commit0f8d5fc8bae0f20fa870dc5eda778aee12ccbda8 (patch)
tree8ec01c3d62a067bb403abcbd1466da7feaa7f94d /src/transport/ipc
parenta43e6170bdc97a27602d7a75afcbb37e9d4e69e1 (diff)
downloadnng-0f8d5fc8bae0f20fa870dc5eda778aee12ccbda8.tar.gz
nng-0f8d5fc8bae0f20fa870dc5eda778aee12ccbda8.tar.bz2
nng-0f8d5fc8bae0f20fa870dc5eda778aee12ccbda8.zip
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.
Diffstat (limited to 'src/transport/ipc')
-rw-r--r--src/transport/ipc/ipc.c4
1 files changed, 0 insertions, 4 deletions
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);
}