[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35916 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35916 - gnunet/src/cadet |
Date: |
Wed, 10 Jun 2015 14:08:17 +0200 |
Author: bartpolot
Date: 2015-06-10 14:08:17 +0200 (Wed, 10 Jun 2015)
New Revision: 35916
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- start poll after send
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2015-06-10 12:08:16 UTC
(rev 35915)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2015-06-10 12:08:17 UTC
(rev 35916)
@@ -656,7 +656,9 @@
if (GNUNET_YES == sent)
{
GNUNET_assert (NULL != q);
- fc->last_pid_sent = pid; // FIXME
+ fc->last_pid_sent = pid;
+ if (GC_is_pid_bigger (fc->last_pid_sent + 1, fc->last_ack_recv))
+ GCC_start_poll (c, fwd);
GCC_send_ack (c, fwd, GNUNET_NO);
connection_reset_timeout (c, fwd);
}
@@ -3227,10 +3229,6 @@
{
LOG (GNUNET_ERROR_TYPE_DEBUG, " not droppable, Q_N stays the same\n");
}
- if (GC_is_pid_bigger (fc->last_pid_sent + 1, fc->last_ack_recv))
- {
- GCC_start_poll (c, fwd);
- }
break;
case GNUNET_MESSAGE_TYPE_CADET_KX:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35916 - gnunet/src/cadet,
gnunet <=