From: Kurt Zeilenga Date: Tue, 17 Oct 2000 06:36:22 +0000 (+0000) Subject: Bump listeners to 10 X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1727 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a865220fd8fe90c4bbc08847921ac128a757f4e9;p=openldap Bump listeners to 10 --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 5aecc3bcea..9e3c98360d 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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",