]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit. I wonder if we should convert the fdset bitvector into
authorHoward Chu <hyc@openldap.org>
Mon, 15 Nov 2004 04:05:32 +0000 (04:05 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 15 Nov 2004 04:05:32 +0000 (04:05 +0000)
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

index 11a84216b55c9f949f0d767a3db515b353258e08..2334137cfee8f9872804f287d585016d6c73c50c 100644 (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++ )