[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31493 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31493 - gnunet/src/transport |
Date: |
Tue, 17 Dec 2013 18:11:29 +0100 |
Author: wachs
Date: 2013-12-17 18:11:29 +0100 (Tue, 17 Dec 2013)
New Revision: 31493
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
do not reschedule timeout on sending
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2013-12-17 16:46:40 UTC (rev
31492)
+++ gnunet/src/transport/plugin_transport_udp.c 2013-12-17 17:11:29 UTC (rev
31493)
@@ -1858,7 +1858,13 @@
udp->reserved = htonl (0);
udp->sender = *plugin->env->my_identity;
- reschedule_session_timeout(s);
+ /* We do not update the session time out here!
+ * Otherwise this session will not timeout since we send keep alive before
+ * session can timeout
+ *
+ * For UDP we update session timeout only on receive, this will cover keep
+ * alives, since remote peer will reply with keep alive response!
+ */
if (udpmlen <= UDP_MTU)
{
/* unfragmented message */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31493 - gnunet/src/transport,
gnunet <=