mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 05:43:01 -05:00
Move the input data exhaustion loop to connection.c from daemon.c
This commit is contained in:
parent
76227acb1f
commit
504038ffac
1 changed files with 1 additions and 3 deletions
|
|
@ -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 a new issue