projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdb128
)
rps service: additional logging of unexpected channel establishing
author
Julius Bünger
<buenger@mytum.de>
Thu, 5 Jul 2018 20:06:54 +0000
(22:06 +0200)
committer
Julius Bünger
<buenger@mytum.de>
Thu, 5 Jul 2018 20:06:54 +0000
(22:06 +0200)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index db09c68d2cbdf71aa4de40b2f2cfdfda08c595ca..aef6a72de6d85921a9f650d59d4036fb6edb672f 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-1534,6
+1534,9
@@
Peers_handle_inbound_channel (void *cls,
/* We only accept one incoming channel per peer */
if (GNUNET_YES == Peers_check_peer_send_intention (initiator))
{
+ LOG (GNUNET_ERROR_TYPE_WARNING,
+ "Already got one receive channel. Destroying old one.\n");
+ GNUNET_break_op (0);
set_channel_flag (peer_ctx->recv_channel_flags,
Peers_CHANNEL_ESTABLISHED_TWICE);
//GNUNET_CADET_channel_destroy (channel);