gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r15937 - gnunet/src/transport
Date: Tue, 12 Jul 2011 15:30:42 +0200

Author: wachs
Date: 2011-07-12 15:30:41 +0200 (Tue, 12 Jul 2011)
New Revision: 15937

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


Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2011-07-11 22:34:11 UTC (rev 
15936)
+++ gnunet/src/transport/plugin_transport_tcp.c 2011-07-12 13:30:41 UTC (rev 
15937)
@@ -24,6 +24,7 @@
  */
 #include "platform.h"
 #include "gnunet_hello_lib.h"
+#include "gnunet_constants.h"
 #include "gnunet_connection_lib.h"
 #include "gnunet_container_lib.h"
 #include "gnunet_nat_lib.h"
@@ -1191,7 +1192,7 @@
   GNUNET_assert (session != NULL);
   GNUNET_assert (session->client != NULL);
 
-  GNUNET_SERVER_client_set_timeout(session->client, 
CONNECTED_LATENCY_EVALUATION_MAX_DELAY);
+  GNUNET_SERVER_client_set_timeout(session->client, 
GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT);
   GNUNET_STATISTICS_update (plugin->env->stats,
                            gettext_noop ("# bytes currently in TCP buffers"),
                            msgbuf_size,
@@ -1740,7 +1741,7 @@
     }
   session->last_activity = GNUNET_TIME_absolute_get ();
   session->expecting_welcome = GNUNET_NO;
-  GNUNET_SERVER_client_set_timeout(client, 
CONNECTED_LATENCY_EVALUATION_MAX_DELAY);
+  GNUNET_SERVER_client_set_timeout(client, 
GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT);
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
 }
 




reply via email to

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