Revert prev commit, unnecessary

This commit is contained in:
Howard Chu 2009-01-27 18:16:28 +00:00
parent b64a6cddd3
commit 1a1d226dad
2 changed files with 2 additions and 4 deletions

View File

@ -1240,7 +1240,7 @@ int connection_read_activate( ber_socket_t s )
* thread reads data on it. Otherwise the listener thread will repeatedly
* submit the same event on it to the pool.
*/
rc = slapd_ack_read( s, 0 );
rc = slapd_clr_read( s, 0 );
if ( rc )
return rc;
@ -1844,7 +1844,7 @@ int connection_write(ber_socket_t s)
assert( connections != NULL );
slapd_ack_write( s, 0 );
slapd_clr_write( s, 0 );
c = connection_get( s );
if( c == NULL ) {

View File

@ -831,10 +831,8 @@ LDAP_SLAPD_F (void) slap_wake_listener LDAP_P((void));
LDAP_SLAPD_F (void) slapd_set_write LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_F (void) slapd_clr_write LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_F (void) slapd_ack_write LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_F (void) slapd_set_read LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_F (int) slapd_clr_read LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_F (int) slapd_ack_read LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_V (volatile sig_atomic_t) slapd_abrupt_shutdown;
LDAP_SLAPD_V (volatile sig_atomic_t) slapd_shutdown;