From: Howard Chu Date: Sun, 18 May 2008 15:58:10 +0000 (+0000) Subject: Do connections_init() sooner X-Git-Tag: LOCKER_IDS~160 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6b3461cf9a986b7a1c6ee650cd264efdee1674e;p=openldap Do connections_init() sooner --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 5f6496821f..3fe81157b7 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -2620,7 +2620,6 @@ slapd_daemon( void ) { int rc; - connections_init(); #ifdef LDAP_CONNECTIONLESS connectionless_init(); #endif /* LDAP_CONNECTIONLESS */ diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 70dae327d6..5f841086c4 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -929,6 +929,8 @@ unhandled_option:; */ time( &starttime ); + connections_init(); + if ( slap_startup( NULL ) != 0 ) { rc = 1; SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 21 );