[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31220 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31220 - gnunet/src/mesh |
Date: |
Mon, 9 Dec 2013 15:50:26 +0100 |
Author: bartpolot
Date: 2013-12-09 15:50:26 +0100 (Mon, 09 Dec 2013)
New Revision: 31220
Modified:
gnunet/src/mesh/gnunet-service-mesh_local.c
Log:
- dont generate errors on async channel destruction, use stats instead
Modified: gnunet/src/mesh/gnunet-service-mesh_local.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_local.c 2013-12-09 14:44:37 UTC (rev
31219)
+++ gnunet/src/mesh/gnunet-service-mesh_local.c 2013-12-09 14:50:26 UTC (rev
31220)
@@ -433,6 +433,9 @@
if (NULL == ch)
{
LOG (GNUNET_ERROR_TYPE_DEBUG, " channel %X not found\n", chid);
+ GNUNET_STATISTICS_update (stats,
+ "# client destroy messages on unknown channel",
+ 1, GNUNET_NO);
GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
@@ -491,8 +494,10 @@
ch = GML_channel_get (c, chid);
if (NULL == ch)
{
- GNUNET_break (0);
- GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
+ GNUNET_STATISTICS_update (stats,
+ "# client data messages on unknown channel",
+ 1, GNUNET_NO);
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
@@ -550,6 +555,9 @@
{
LOG (GNUNET_ERROR_TYPE_DEBUG, "Channel %X unknown.\n", chid);
LOG (GNUNET_ERROR_TYPE_DEBUG, " for client %u.\n", c->id);
+ GNUNET_STATISTICS_update (stats,
+ "# client ack messages on unknown channel",
+ 1, GNUNET_NO);
GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31220 - gnunet/src/mesh,
gnunet <=