diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:53:48 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:53:48 +0000 |
commit | 51122793b01e7feadc186a9b25120e0480ba1ed7 (patch) | |
tree | e34a22080a24071a6b42c8c3e4d3193ca926e897 | |
parent | ea8c85c55b9df1b491713b79bb221b7476949742 (diff) | |
download | gnunet-51122793b01e7feadc186a9b25120e0480ba1ed7.tar.gz gnunet-51122793b01e7feadc186a9b25120e0480ba1ed7.zip |
rescheduling sessions for udp
-rw-r--r-- | src/transport/plugin_transport_udp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 4480747a5..b060bb779 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1678,7 +1678,16 @@ udp_plugin_update_session_timeout (void *cls, | |||
1678 | const struct GNUNET_PeerIdentity *peer, | 1678 | const struct GNUNET_PeerIdentity *peer, |
1679 | struct Session *session) | 1679 | struct Session *session) |
1680 | { | 1680 | { |
1681 | if (GNUNET_YES | ||
1682 | != GNUNET_CONTAINER_multipeermap_contains_value (plugin->sessions, | ||
1683 | &s->target, s)) | ||
1684 | { | ||
1685 | GNUNET_break(0); | ||
1686 | return; | ||
1687 | } | ||
1681 | 1688 | ||
1689 | /* Reschedule session timeout */ | ||
1690 | reschedule_session_timeout (session); | ||
1682 | } | 1691 | } |
1683 | 1692 | ||
1684 | /** | 1693 | /** |