[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: do not respond to BROKEN me
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: do not respond to BROKEN messages with BROKEN messages |
Date: |
Thu, 16 Feb 2017 21:00:09 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new f187f1b05 do not respond to BROKEN messages with BROKEN messages
f187f1b05 is described below
commit f187f1b05bc01876ad5091a25217c1646544d7eb
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Feb 16 21:00:07 2017 +0100
do not respond to BROKEN messages with BROKEN messages
---
src/cadet/gnunet-service-cadet-new_core.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/cadet/gnunet-service-cadet-new_core.c
b/src/cadet/gnunet-service-cadet-new_core.c
index 8886e7a61..05fe5f49f 100644
--- a/src/cadet/gnunet-service-cadet-new_core.c
+++ b/src/cadet/gnunet-service-cadet-new_core.c
@@ -368,6 +368,13 @@ route_message (struct CadetPeer *prev,
ntohs (msg->type),
GCP_2s (prev),
GNUNET_sh2s (&cid->connection_of_tunnel));
+ switch (ntohs (msg->type))
+ {
+ case GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY:
+ case GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN:
+ /* No need to respond to these! */
+ return;
+ }
env = GNUNET_MQ_msg (bm,
GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN);
bm->cid = *cid;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: do not respond to BROKEN messages with BROKEN messages,
gnunet <=