Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
James Lowden
OpenLDAP
Commits
54a9c909
Commit
54a9c909
authored
Jan 08, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
May 10, 2021
Browse files
ITS#8747 Do not continue reading if connection is dying
parent
d4f7537b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/connection.c
View file @
54a9c909
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment