From 04b078d6ebc7f46add6ffb4c84a1ffcaeee0a035 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 15 Nov 2004 04:05:32 +0000 Subject: [PATCH] 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. ?? --- servers/slapd/daemon.c | 2 -- 1 file changed, 2 deletions(-) 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++ ) -- 2.39.5