]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream-int: don't mark as blocked an empty buffer on Rx
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Dec 2018 12:45:41 +0000 (13:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Dec 2018 12:45:41 +0000 (13:45 +0100)
commit674e0addc4426cb5b42088d84975c65a2e00c547
treeb10df87b87e8b1947f3ab8aa7dff83c4b917af52
parentc5efa330214cbd8533385210985236086947538a
BUG/MEDIUM: stream-int: don't mark as blocked an empty buffer on Rx

After 8706c8131 ("BUG/MEDIUM: mux_pt: Always set CS_FL_RCV_MORE."), a
side effect caused failed receives to mark the buffer as missing room,
a flag that no other place can remove since it's empty. Ideally we need
a separate flag to mean "failed to deliver data by lack of room", but
in the mean time at the very least we must not mark as blocked an
empty buffer.

No backport is needed.
src/stream_interface.c