]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream_interface: Make sure we call si_cs_process() if CS_FL_EOI.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 7 Jun 2019 16:10:52 +0000 (18:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Jun 2019 17:37:21 +0000 (19:37 +0200)
commit19a2e2d91e44d2159256d6948021333afc75fc4b
tree58f2c872c4f0def383301f04016fca6deff4f33d
parent6c7fe5c3700fac7cc945b2b756df30874cbf77a6
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.
src/stream_interface.c