introducing soft shutdown concept for services; during soft shutdown, services that...
authorChristian Grothoff <christian@grothoff.org>
Sun, 22 Apr 2012 19:52:39 +0000 (19:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 22 Apr 2012 19:52:39 +0000 (19:52 +0000)
commite2bf225a32bb93731b574ad698f20acbb92a5803
treedc151b39eb6bb96eaa03c447a92205e8c4254b58
parent9ba0af50e8f41d40163bbac21003261928084c48
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
13 files changed:
src/arm/gnunet-service-arm.c
src/ats/gnunet-service-ats.c
src/include/gnunet_server_lib.h
src/include/gnunet_service_lib.h
src/namestore/gnunet-service-namestore.c
src/peerinfo/gnunet-service-peerinfo.c
src/statistics/gnunet-service-statistics.c
src/transport/gnunet-service-transport.c
src/transport/gnunet-service-transport_blacklist.c
src/transport/gnunet-service-transport_clients.c
src/transport/plugin_transport_tcp.c
src/util/server.c
src/util/service.c