mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-09 08:42:22 -04:00
ITS#8747 Do not continue reading if connection is dying
This commit is contained in:
parent
d4f7537b57
commit
54a9c909c7
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ handle_pdus( void *ctx, void *arg )
|
|||
goto done;
|
||||
}
|
||||
|
||||
if ( !IS_ALIVE( c, c_live ) ) {
|
||||
break;
|
||||
}
|
||||
|
||||
if ( ++pdus_handled >= lload_conn_max_pdus_per_cycle ) {
|
||||
/* Do not read now, re-enable read event instead */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue