gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11523 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r11523 - gnunet/src/transport
Date: Wed, 26 May 2010 14:01:48 +0200

Author: wachs
Date: 2010-05-26 14:01:48 +0200 (Wed, 26 May 2010)
New Revision: 11523

Modified:
   gnunet/src/transport/test_plugin_transport_http.c
Log:


Modified: gnunet/src/transport/test_plugin_transport_http.c
===================================================================
--- gnunet/src/transport/test_plugin_transport_http.c   2010-05-26 12:00:05 UTC 
(rev 11522)
+++ gnunet/src/transport/test_plugin_transport_http.c   2010-05-26 12:01:48 UTC 
(rev 11523)
@@ -138,7 +138,8 @@
          const char *sender_address,
          uint16_t sender_address_len)
 {
-  /* do nothing */
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testcase recieved new message from 
peer `%s' with type %u and length %u\n",  
GNUNET_i2s(peer),ntohs(message->type),ntohs(message->size));
+
   return GNUNET_TIME_UNIT_ZERO;
 }
 
@@ -241,7 +242,7 @@
   if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
     return;
 
-  if ( timeout_count > 15 )
+  if ( timeout_count > 1 )
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testcase timeout\n",  timeout_count);
     fail = GNUNET_YES;
@@ -535,7 +536,7 @@
     return;
   }
 
-  ti_timeout = GNUNET_SCHEDULER_add_now (sched, &task_timeout, NULL);
+  ti_timeout = GNUNET_SCHEDULER_add_delayed (sched, STAT_INTERVALL, 
&task_timeout, NULL);
   //ti_download = GNUNET_SCHEDULER_add_now (sched, &task_download, NULL);
 
   return;




reply via email to

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