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_unix.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_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 0c3d29733..9ca58ef51 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -886,6 +886,7 @@ unix_plugin_get_session (void *cls, | |||
886 | session->target = address->peer; | 886 | session->target = address->peer; |
887 | session->address = GNUNET_HELLO_address_copy (address); | 887 | session->address = GNUNET_HELLO_address_copy (address); |
888 | session->plugin = plugin; | 888 | session->plugin = plugin; |
889 | session->timeout = GNUNET_TIME_relative_to_absolute (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT); | ||
889 | session->timeout_task = GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT, | 890 | session->timeout_task = GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT, |
890 | &session_timeout, | 891 | &session_timeout, |
891 | session); | 892 | session); |