fixing common off-by-one error with respect to maximum message size
authorChristian Grothoff <christian@grothoff.org>
Fri, 25 Jun 2010 21:09:43 +0000 (21:09 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 25 Jun 2010 21:09:43 +0000 (21:09 +0000)
src/transport/test_transport_api_reliability.c

index 4f00fa0d962a13be20aae1164ebc24b9a7ab0158..27b86b388607f86a30a14e6004fba84d605459aa 100644 (file)
@@ -32,6 +32,7 @@
 #include "gnunet_os_lib.h"
 #include "gnunet_program_lib.h"
 #include "gnunet_scheduler_lib.h"
+#include "gnunet_server_lib.h"
 #include "gnunet_transport_service.h"
 #include "transport.h"
 
@@ -46,7 +47,7 @@
  * 'MAX_PENDING' in 'gnunet-service-transport.c', otherwise
  * messages may be dropped even for a reliable transport.
  */
-#define TOTAL_MSGS (60000 * 20)
+#define TOTAL_MSGS (60000 * 2)
 
 /**
  * How long until we give up on transmitting the message?