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 /src/cadet | |
parent | 9c25b4dcb6f63c2febb37a9e8f736bf100928043 (diff) | |
download | gnunet-2a79d2a8df64c33828f5cccec68e6cbb2062648a.tar.gz gnunet-2a79d2a8df64c33828f5cccec68e6cbb2062648a.zip |
don't let further circuits disrupt 'gnunet-cadet -o'
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-cadet.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | { |