Commit 619a6726 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

shutdown connections fix

parent 5502d8c9
......@@ -1916,11 +1916,17 @@ slapd_daemon_task(
#endif
}
if( slapd_gentle_shutdown != 2 )
if( slapd_gentle_shutdown != 2 ) {
close_listeners ( 0 );
}
free ( slap_listeners );
slap_listeners = NULL;
if( !slapd_gentle_shutdown ) {
connections_shutdown();
}
#ifdef NEW_LOGGING
LDAP_LOG( CONNECTION, CRIT,
"slapd_daemon_task: shutdown waiting for %d threads to terminate.\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment