mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#8747 Do not continue reading if connection is dying
This commit is contained in:
parent
4f4997551d
commit
a186fd70ab
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