mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-03 16:28:01 +00:00
BUG/MEDIUM: stream-int: don't attempt to receive if the connection is not established
If we try to receive before the connection is established, we lose the send event and are not woken up anymore once the connection is established. This was diagnosed by Olivier. No backport is needed.
This commit is contained in:
parent
a3b62d374a
commit
adc7f3edd2
@ -436,7 +436,7 @@ static inline void si_chk_rcv(struct stream_interface *si)
|
||||
if (si_rx_blocked(si) || !si_rx_endp_ready(si))
|
||||
return;
|
||||
|
||||
if (si->state > SI_ST_EST)
|
||||
if (si->state != SI_ST_EST)
|
||||
return;
|
||||
|
||||
si->flags |= SI_FL_RX_WAIT_EP;
|
||||
|
Loading…
Reference in New Issue
Block a user