diff options
author | psyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY> | 2017-02-02 09:21:56 +0000 |
---|---|---|
committer | psyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY> | 2017-02-02 09:21:57 +0000 |
commit | 2a79d2a8df64c33828f5cccec68e6cbb2062648a (patch) | |
tree | 8e960bf898c45ec25428ecb097ec62636de0bab8 | |
parent | 9c25b4dcb6f63c2febb37a9e8f736bf100928043 (diff) | |
download | gnunet-2a79d2a8df64c33828f5cccec68e6cbb2062648a.tar.gz gnunet-2a79d2a8df64c33828f5cccec68e6cbb2062648a.zip |
don't let further circuits disrupt 'gnunet-cadet -o'
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | src/cadet/gnunet-cadet.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -112,7 +112,7 @@ FreeBSD : Kirill Ponomarew <ponomarew@oberon.net> | |||
112 | Debian GNU/Linux: Daniel Baumann <daniel.baumann@panthera-systems.net> | 112 | Debian GNU/Linux: Daniel Baumann <daniel.baumann@panthera-systems.net> |
113 | OpenWrt/LEDE : Daniel Golle <daniel@makrotopia.org> | 113 | OpenWrt/LEDE : Daniel Golle <daniel@makrotopia.org> |
114 | OS X : Jussi Eloranta <eloranta@cc.jyu.fi> | 114 | OS X : Jussi Eloranta <eloranta@cc.jyu.fi> |
115 | 115 | Gentoo : Carlo von lynX <psyc://loupsycedyglgamf.onion/~lynX> | |
116 | 116 | ||
117 | If you have contributed and are not listed here, please | 117 | If you have contributed and are not listed here, please |
118 | notify one of the maintainers in order to be added. | 118 | 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, | |||
435 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Not listening to channels\n"); | 435 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Not listening to channels\n"); |
436 | return NULL; | 436 | return NULL; |
437 | } | 437 | } |
438 | #if 0 | ||
439 | // Closing the listen port currently breaks open connections. | 438 | // Closing the listen port currently breaks open connections. |
440 | // Is this an intentional departure from POSIX socket behavior? | 439 | // Is this an intentional departure from POSIX socket behavior? |
441 | // | 440 | // |
442 | if (NULL != lp) { | 441 | if (NULL != lp) { |
443 | /* Now that we have our circuit up and running, let's not | 442 | /* Now that we have our circuit up and running, let's not |
444 | * get confused by further incoming connect requests. | 443 | * get confused by further incoming connect requests. |
444 | * You need to start another 'gnunet-cadet -o' process | ||
445 | * to receive those. | ||
445 | */ | 446 | */ |
446 | GNUNET_CADET_close_port (lp); | 447 | GNUNET_CADET_close_port (lp); |
447 | lp = NULL; | 448 | lp = NULL; |
448 | } | 449 | } |
449 | #endif | ||
450 | ch = channel; | 450 | ch = channel; |
451 | if (GNUNET_NO == echo) | 451 | if (GNUNET_NO == echo) |
452 | { | 452 | { |