[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: do not bitch at CADET for i
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: do not bitch at CADET for issues that can happen in normal operation |
Date: |
Tue, 28 Feb 2017 15:20:18 +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 1ba355456 do not bitch at CADET for issues that can happen in normal
operation
1ba355456 is described below
commit 1ba3554564c3d1b1110f5db9c37df498dee0cb9b
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 28 15:21:32 2017 +0100
do not bitch at CADET for issues that can happen in normal operation
---
src/cadet/cadet_api_new.c | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/src/cadet/cadet_api_new.c b/src/cadet/cadet_api_new.c
index efdb6d8a6..2d5d853b3 100644
--- a/src/cadet/cadet_api_new.c
+++ b/src/cadet/cadet_api_new.c
@@ -686,7 +686,7 @@ handle_channel_destroy (void *cls,
if (NULL == ch)
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Received channel destroy for unknown channel %X from CADET
service\n",
+ "Received channel destroy for unknown channel %X from CADET service
(recently close?)\n",
ntohl (msg->ccn.channel_of_client));
return;
}
@@ -709,8 +709,6 @@ static int
check_local_data (void *cls,
const struct GNUNET_CADET_LocalData *message)
{
- struct GNUNET_CADET_Handle *h = cls;
- struct GNUNET_CADET_Channel *ch;
uint16_t size;
size = ntohs (message->header.size);
@@ -719,15 +717,6 @@ check_local_data (void *cls,
GNUNET_break (0);
return GNUNET_SYSERR;
}
-
- ch = find_channel (h,
- message->ccn);
- if (NULL == ch)
- {
- GNUNET_break (0);
- return GNUNET_SYSERR;
- }
-
return GNUNET_OK;
}
@@ -752,8 +741,9 @@ handle_local_data (void *cls,
message->ccn);
if (NULL == ch)
{
- GNUNET_break (0);
- reconnect (h);
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Unknown channel %X for incoming data (recently closed?)\n",
+ ntohl (message->ccn.channel_of_client));
return;
}
--
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 bitch at CADET for issues that can happen in normal operation,
gnunet <=