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. ??
This commit is contained in:
Howard Chu 2004-11-15 04:05:32 +00:00
parent a59243ceee
commit 04b078d6eb

View File

@ -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++ )