not zero
authorChristian Grothoff <christian@grothoff.org>
Fri, 15 Jul 2011 08:24:02 +0000 (08:24 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 15 Jul 2011 08:24:02 +0000 (08:24 +0000)
src/fragmentation/fragmentation.c

index 6afdc15334922ed28825b0f88704f3e287a345ae..524db52306a843e8cd79b5cc1cf49d94dfc9edad 100644 (file)
@@ -202,6 +202,9 @@ transmit_next (void *cls,
       /* full round transmitted wait 2x delay for ACK before going again */
       delay = GNUNET_TIME_relative_max (GNUNET_TIME_relative_multiply (delay, 2),
                                        fc->delay);
+      /* never use zero, need some time for ACK always */
+      delay = GNUNET_TIME_relative_max (GNUNET_TIME_UNIT_MILLISECONDS,
+                                       delay);
       fc->last_round = GNUNET_TIME_absolute_get ();
       fc->wack = GNUNET_YES;
     }