From 2a79d2a8df64c33828f5cccec68e6cbb2062648a Mon Sep 17 00:00:00 2001 From: "psyc://loupsycedyglgamf.onion/~lynX" Date: Thu, 2 Feb 2017 09:21:56 +0000 Subject: [PATCH] don't let further circuits disrupt 'gnunet-cadet -o' --- AUTHORS | 2 +- src/cadet/gnunet-cadet.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index f5ec48bc6..aedc5dffb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -112,7 +112,7 @@ FreeBSD : Kirill Ponomarew Debian GNU/Linux: Daniel Baumann OpenWrt/LEDE : Daniel Golle OS X : Jussi Eloranta - +Gentoo : Carlo von lynX If you have contributed and are not listed here, please notify one of the maintainers in order to be added. diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c index 043318ff3..f9f156f58 100644 --- a/src/cadet/gnunet-cadet.c +++ b/src/cadet/gnunet-cadet.c @@ -435,18 +435,18 @@ channel_incoming (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Not listening to channels\n"); return NULL; } -#if 0 // Closing the listen port currently breaks open connections. // Is this an intentional departure from POSIX socket behavior? // if (NULL != lp) { /* Now that we have our circuit up and running, let's not * get confused by further incoming connect requests. + * You need to start another 'gnunet-cadet -o' process + * to receive those. */ GNUNET_CADET_close_port (lp); lp = NULL; } -#endif ch = channel; if (GNUNET_NO == echo) { -- 2.25.1