]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: Don't set the flag CS_FL_RCV_MORE when nothing was parsed
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Nov 2018 20:54:26 +0000 (21:54 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 13:31:44 +0000 (14:31 +0100)
commit9c388400550cdaf2dac2cc78648c2f17cffea966
treeb0961d5606588dbf91945e66a7fb77f0dbfde57e
parentd44ad5b8bd94510fc3e4353f06223be457e5b018
BUG/MEDIUM: mux-h1: Don't set the flag CS_FL_RCV_MORE when nothing was parsed

When we start to parse a new message, if all headers have not been received,
nothing is copied in the channel's buffer. In this situation, we must not set
the flag CS_FL_RCV_MORE on the conn-stream. If we do so, the connection freezes
because there is no data to send that can reenable the reads
src/mux_h1.c