Don't open new connections when exiting. Addresses #1604.
authorAlan T. DeKok <aland@freeradius.org>
Sun, 25 Sep 2016 15:06:11 +0000 (11:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 25 Sep 2016 15:06:11 +0000 (11:06 -0400)
commit82f556b5290b7fa9b39e07af99d841c6aaa323ab
tree195be933ded67b257d663a5d4abb01367833ee09
parenteeb6c380020078a787465acd05e1456e2d513347
Don't open new connections when exiting.  Addresses #1604.

When we a get a SIGTERM or SIGQUIT, mark "exiting", and stop
returning new connections.  Also, don't allow reconnection of
existing connections.  This should help with CTRL-C.
src/include/radiusd.h
src/main/connection.c
src/main/process.c