From 9feb54e9c7ab116ba566086a76604338f86e3bc3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 9 Aug 2017 19:05:28 -0700 Subject: fixes #47 compat_reqttls fails sometimes fixes #23 Restore the old idhash logic for sockets --- src/nng_compat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nng_compat.c') diff --git a/src/nng_compat.c b/src/nng_compat.c index 34fc6553..e03ff42d 100644 --- a/src/nng_compat.c +++ b/src/nng_compat.c @@ -41,6 +41,7 @@ static struct { { NNG_EMSGSIZE, EMSGSIZE }, { NNG_ECONNABORTED, ECONNABORTED }, { NNG_ECONNRESET, ECONNRESET }, + { NNG_ECANCELED, EBADF }, { 0, 0 }, // clang-format on }; -- cgit v1.2.3-70-g09d2