mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-23 15:19:36 -04:00
BUG/MEDIUM: stream_int: Don't check CO_FL_SOCK_RD_SH flag to trigger cs receive
It is mandatory to be sure to process data blocked in the RX buffer of the conn_stream while the shutr/read0 was already processed. The stream interface doesn't need to rely on this flags because it already tests CS_FL_EOS.
This commit is contained in:
parent
259e473ecc
commit
7c42eacbe9
1 changed files with 1 additions and 1 deletions
|
|
@ -1235,7 +1235,7 @@ static void si_cs_recv_cb(struct conn_stream *cs)
|
|||
* that if such an event is not handled above in splice, it will be handled here by
|
||||
* recv().
|
||||
*/
|
||||
while (!(conn->flags & (CO_FL_ERROR | CO_FL_SOCK_RD_SH | CO_FL_WAIT_ROOM | CO_FL_HANDSHAKE)) &&
|
||||
while (!(conn->flags & (CO_FL_ERROR | CO_FL_WAIT_ROOM | CO_FL_HANDSHAKE)) &&
|
||||
!(cs->flags & (CS_FL_ERROR|CS_FL_EOS)) && !(ic->flags & CF_SHUTR)) {
|
||||
max = channel_recv_max(ic);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue