]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux_pt: Set CS_FL_WANT_ROOM when count is zero in rcv_buf() callback
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Dec 2018 12:21:02 +0000 (13:21 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Dec 2018 15:28:49 +0000 (16:28 +0100)
commitd94f877cdf398282d40d1eeeb6d6c603290c4f94
tree770d4cd53b991c0936c8880ea06b8ba14d6f1ca2
parent9666720c83ab2b5a6a4214cb0a61c9250b564626
BUG/MINOR: mux_pt: Set CS_FL_WANT_ROOM when count is zero in rcv_buf() callback

When count is zero in the function mux_pt_rcv_buf(), it means the channel's
buffer is full. So we need to set the CS_FL_WANT_ROOM on the
conn_stream. Otherwise, while the channel is full, we will try to receive in
loop more data.
src/mux_pt.c