mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Move the input data exhaustion loop to connection.c from daemon.c
This commit is contained in:
parent
76227acb1f
commit
504038ffac
@ -864,9 +864,7 @@ slapd_daemon_task(
|
||||
* active.
|
||||
*/
|
||||
|
||||
while ( ( rc = connection_read( rd ) ) > 0 )
|
||||
;
|
||||
if ( rc < 0 ) {
|
||||
if ( connection_read( rd ) < 0 ) {
|
||||
slapd_close( rd );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user