diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-23 11:26:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-23 11:26:59 +0000 |
commit | fd512b7696978adc5241f83092756afbdfcfd1af (patch) | |
tree | dd07687841dcf3763f2243fc82cf522ef20e9c19 /src/transport/plugin_transport_udp.c | |
parent | 30d89ade90a0d0ae3a3581adbd6110bf7db9b35a (diff) | |
download | gnunet-fd512b7696978adc5241f83092756afbdfcfd1af.tar.gz gnunet-fd512b7696978adc5241f83092756afbdfcfd1af.zip |
-towards having the monitoring API supported by TCP
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 782a5ea8f..e9d6b54d4 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1573,6 +1573,7 @@ create_session (struct Plugin *plugin, | |||
1573 | s->last_expected_msg_delay = GNUNET_TIME_UNIT_MILLISECONDS; | 1573 | s->last_expected_msg_delay = GNUNET_TIME_UNIT_MILLISECONDS; |
1574 | s->flow_delay_from_other_peer = GNUNET_TIME_UNIT_ZERO_ABS; | 1574 | s->flow_delay_from_other_peer = GNUNET_TIME_UNIT_ZERO_ABS; |
1575 | s->flow_delay_for_other_peer = GNUNET_TIME_UNIT_ZERO; | 1575 | s->flow_delay_for_other_peer = GNUNET_TIME_UNIT_ZERO; |
1576 | s->timeout = GNUNET_TIME_relative_to_absolute (UDP_SESSION_TIME_OUT); | ||
1576 | s->timeout_task = GNUNET_SCHEDULER_add_delayed (UDP_SESSION_TIME_OUT, | 1577 | s->timeout_task = GNUNET_SCHEDULER_add_delayed (UDP_SESSION_TIME_OUT, |
1577 | &session_timeout, s); | 1578 | &session_timeout, s); |
1578 | return s; | 1579 | return s; |