[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23413 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23413 - gnunet/src/mesh |
Date: |
Fri, 24 Aug 2012 18:32:08 +0200 |
Author: bartpolot
Date: 2012-08-24 18:32:08 +0200 (Fri, 24 Aug 2012)
New Revision: 23413
Modified:
gnunet/src/mesh/mesh_api.c
Log:
- send only one ack per packet, send before callback (callback can issue
destroy)
Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c 2012-08-24 15:46:24 UTC (rev 23412)
+++ gnunet/src/mesh/mesh_api.c 2012-08-24 16:32:08 UTC (rev 23413)
@@ -1163,6 +1163,7 @@
}
t->last_recv_pid = pid;
type = ntohs (payload->type);
+ send_ack (h, t);
for (i = 0; i < h->n_handlers; i++)
{
handler = &h->message_handlers[i];
@@ -1183,7 +1184,6 @@
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
"callback completed successfully\n");
- send_ack (h, t);
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23413 - gnunet/src/mesh,
gnunet <=