]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream-int: Process read0 even if no data was received in si_cs_recv
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Dec 2018 13:51:20 +0000 (14:51 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Dec 2018 13:57:58 +0000 (14:57 +0100)
commitf061e422f726c5c387bb8199117d12b7474f5d25
tree1a8fb65ef28f6c5ca8954b3a5894b62fa56711a1
parent5f50f5e606763a70dd257e5c932d8ac0fe2e160a
BUG/MINOR: stream-int: Process read0 even if no data was received in si_cs_recv

The flag CS_FL_EOS can be set while no data was received. So the flas
CS_FL_RCV_MORE is not set. In this case, the read0 was never processed by the
stream interface. To be sure to process it, the test on CS_FL_RCV_MORE has been
moved after the one on CS_FL_EOS.
src/stream_interface.c