mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Bump listeners to 10
This commit is contained in:
parent
d30264a2a1
commit
a865220fd8
@ -59,6 +59,8 @@ typedef struct slap_listener {
|
||||
|
||||
Listener **slap_listeners = NULL;
|
||||
|
||||
#define SLAPD_LISTEN 10
|
||||
|
||||
static ber_socket_t wake_sds[2];
|
||||
|
||||
#ifdef NO_THREADS
|
||||
@ -698,7 +700,7 @@ slapd_daemon_task(
|
||||
if ( slap_listeners[l]->sl_sd == AC_SOCKET_INVALID )
|
||||
continue;
|
||||
|
||||
if ( listen( slap_listeners[l]->sl_sd, 5 ) == -1 ) {
|
||||
if ( listen( slap_listeners[l]->sl_sd, SLAPD_LISTEN ) == -1 ) {
|
||||
int err = sock_errno();
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"daemon: listen(%s, 5) failed errno=%d (%s)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user