From: Howard Chu Date: Mon, 15 Nov 2004 04:05:32 +0000 (+0000) Subject: Fix prev commit. I wonder if we should convert the fdset bitvector into X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~308 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04b078d6ebc7f46add6ffb4c84a1ffcaeee0a035;p=openldap Fix prev commit. I wonder if we should convert the fdset bitvector into an array like winsock does. That would speed up response time for small number of connections with large FD_SETSIZE, but probably equalize out as the number of active connections goes up. ?? --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 11a84216b5..2334137cfe 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1603,7 +1603,6 @@ slapd_daemon_task( continue; } -#ifdef LDAP_DEBUG Debug( LDAP_DEBUG_CONNS, "daemon: activity on:", 0, 0, 0 ); #ifdef HAVE_WINSOCK nrfds = readfds.fd_count; @@ -1642,7 +1641,6 @@ slapd_daemon_task( #endif Debug( LDAP_DEBUG_CONNS, "\n", 0, 0, 0 ); -#endif /* loop through the writers */ for ( i = 0; nwfds > 0; i++ )