]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream-int: don't try to receive again after receiving an EOS
authorWilly Tarreau <w@1wt.eu>
Tue, 12 Dec 2017 08:58:40 +0000 (09:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 14 Dec 2017 12:43:52 +0000 (13:43 +0100)
commitb78b80efe57fb7c6e195850626065d55ed5e4e3b
tree20250f70dc022a82e5837f2f0f605a2f0e65439e
parent91bfdd7e04e105559c00f0d711842ad91ca96b26
BUG/MINOR: stream-int: don't try to receive again after receiving an EOS

When an end of stream has been reported, we should not try to receive again
as the mux layer might not be prepared to this and could report unexpected
errors.

This is more of a strengthening measure that follows the introduction of
conn_stream that came in 1.8. It's desired to backport this into 1.8 though
it's uncertain at this time whether it may have caused real issues.
src/stream_interface.c