mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-14 21:36:14 -04:00
BUG/MEDIUM: stream_interface: Make sure we call si_cs_process() if CS_FL_EOI.
In si_cs_recv(), if we got the CS_FL_EOI flag on the conn_stream, make sure we return 1, so that si_cs_process() will be called, and wake process_stream() up, otherwise if we're unlucky the flag will never be noticed, and the stream won't be woken up.
This commit is contained in:
parent
6c7fe5c370
commit
19a2e2d91e
1 changed files with 1 additions and 1 deletions
|
|
@ -1480,7 +1480,7 @@ int si_cs_recv(struct conn_stream *cs)
|
|||
si_rx_endp_more(si);
|
||||
}
|
||||
|
||||
return (cur_read != 0) || si_rx_blocked(si);
|
||||
return (cur_read != 0) || si_rx_blocked(si) || (cs->flags & CS_FL_EOI);
|
||||
|
||||
out_shutdown_r:
|
||||
if (conn->flags & CO_FL_CONNECTED) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue