gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r27671 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r27671 - gnunet/src/mesh
Date: Fri, 28 Jun 2013 13:49:16 +0200

Author: bartpolot
Date: 2013-06-28 13:49:16 +0200 (Fri, 28 Jun 2013)
New Revision: 27671

Modified:
   gnunet/src/mesh/gnunet-service-mesh-new.c
Log:
- fix nobuffer behavior

Modified: gnunet/src/mesh/gnunet-service-mesh-new.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-new.c   2013-06-28 08:26:53 UTC (rev 
27670)
+++ gnunet/src/mesh/gnunet-service-mesh-new.c   2013-06-28 11:49:16 UTC (rev 
27671)
@@ -2082,7 +2082,8 @@
   if (t->next_fc.last_ack_sent == ack && GNUNET_NO == t->force_ack)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "    Not sending ACK, not needed\n");
+                "    Not sending ACK, not needed, last ack sent was %u\n",
+                t->next_fc.last_ack_sent);
     return;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -3134,8 +3135,6 @@
     if (0 != (opt & MESH_TUNNEL_OPT_NOBUFFER))
     {
       t->nobuffer = GNUNET_YES;
-      t->prev_fc.last_ack_sent = t->prev_fc.last_pid_recv + 1;
-      t->next_fc.last_ack_sent = t->next_fc.last_pid_recv + 1;
       t->queue_max = 1;
     }
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "  nobuffer:%d\n", t->nobuffer);




reply via email to

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