diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-04-22 19:52:39 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-04-22 19:52:39 +0000 |
commit | 30abf0c57b2a4256bef10db34088ef0ca069272e (patch) | |
tree | dc151b39eb6bb96eaa03c447a92205e8c4254b58 /src/transport/plugin_transport_tcp.c | |
parent | 4838e56de4519545f559c32911bc417a0666aafc (diff) |
introducing soft shutdown concept for services; during soft shutdown, services that are still managing non-monitor clients continue to run until those clients disconnect; however, the services do stop to accept new connections (will stop listening); soft shutdown is now used by ats, transport, peerinfo, namestore and most importantly statistics; this should fix #2197
git-svn-id: https://gnunet.org/svn/gnunet@21075 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index ea8b6ee08f..54bcf16eff 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -2161,7 +2161,7 @@ libgnunet_plugin_transport_tcp_init (void *cls) aport = 0; if (bport != 0) { - service = GNUNET_SERVICE_start ("transport-tcp", env->cfg); + service = GNUNET_SERVICE_start ("transport-tcp", env->cfg, GNUNET_SERVICE_OPTION_NONE); if (service == NULL) { GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "tcp", |