]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: only turn CO_FL_ERROR to CS_FL_ERROR with empty ibuf
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Mar 2022 16:10:36 +0000 (17:10 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Mar 2022 16:00:17 +0000 (17:00 +0100)
commit99bbdbcc21355c8773474274a319086c0d2999d6
tree293ccb6ed20f6233a36461613b5f158d32e2f626
parent2ec39ea6534827bacfbd50812d7514299a28da9b
BUG/MEDIUM: mux-h1: only turn CO_FL_ERROR to CS_FL_ERROR with empty ibuf

A connection-level error must not be turned to a stream-level error if there
are still pending data for that stream, otherwise it can cause the truncation
of the last pending data.

This must be backported to affected releases, at least as far as 2.4,
maybe further.
src/mux_h1.c