gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 03/03: rps service: additional logging of unexpect


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 03/03: rps service: additional logging of unexpected channel establishing
Date: Thu, 05 Jul 2018 22:09:23 +0200

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

commit 8d2bd1dd06bc416277f623d2c9d84cf0da5624fe
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Jul 5 22:06:54 2018 +0200

    rps service: additional logging of unexpected channel establishing
---
 src/rps/gnunet-service-rps.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index db09c68d2..aef6a72de 100644
--- 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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]