gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31521 - gnunet/src/transport
Date: Wed, 18 Dec 2013 12:53:48 +0100

Author: wachs
Date: 2013-12-18 12:53:48 +0100 (Wed, 18 Dec 2013)
New Revision: 31521

Modified:
   gnunet/src/transport/plugin_transport_udp.c
Log:
rescheduling sessions for udp


Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2013-12-18 11:32:49 UTC (rev 
31520)
+++ gnunet/src/transport/plugin_transport_udp.c 2013-12-18 11:53:48 UTC (rev 
31521)
@@ -1678,7 +1678,16 @@
                                   const struct GNUNET_PeerIdentity *peer,
                                   struct Session *session)
 {
+  if (GNUNET_YES
+      != GNUNET_CONTAINER_multipeermap_contains_value (plugin->sessions,
+          &s->target, s))
+  {
+    GNUNET_break(0);
+    return;
+  }
 
+  /* Reschedule session timeout */
+  reschedule_session_timeout (session);
 }
 
 /**




reply via email to

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