mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-06 09:44:59 -04:00
pullup:
controls->shuttingdown should not be set on server reload.
This commit is contained in:
parent
b21236d838
commit
9cdfffc7ce
1 changed files with 9 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: controlconf.c,v 1.28.2.3 2001/09/21 00:28:58 marka Exp $ */
|
||||
/* $Id: controlconf.c,v 1.28.2.4 2001/09/21 03:31:17 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -559,8 +559,8 @@ control_newconn(isc_task_t *task, isc_event_t *event) {
|
|||
isc_event_free(&event);
|
||||
}
|
||||
|
||||
void
|
||||
ns_controls_shutdown(ns_controls_t *controls) {
|
||||
static void
|
||||
controls_shutdown(ns_controls_t *controls) {
|
||||
controllistener_t *listener;
|
||||
controllistener_t *next;
|
||||
|
||||
|
|
@ -576,6 +576,11 @@ ns_controls_shutdown(ns_controls_t *controls) {
|
|||
ISC_LIST_UNLINK(controls->listeners, listener, link);
|
||||
shutdown_listener(listener);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ns_controls_shutdown(ns_controls_t *controls) {
|
||||
controls_shutdown(controls);
|
||||
controls->shuttingdown = ISC_TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -1206,7 +1211,7 @@ ns_controls_configure(ns_controls_t *cp, cfg_obj_t *config,
|
|||
* were in the previous configuration (if any) that do not
|
||||
* remain in the current configuration.
|
||||
*/
|
||||
ns_controls_shutdown(cp);
|
||||
controls_shutdown(cp);
|
||||
|
||||
/*
|
||||
* Put all of the valid listeners on the listeners list.
|
||||
|
|
|
|||
Loading…
Reference in a new issue