]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: stconn: Don't report abort from SC if read0 was already received
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Dec 2025 16:11:36 +0000 (17:11 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Dec 2025 07:41:08 +0000 (08:41 +0100)
commit54e58103e5fb5164b4c9e8c0fa82786b7a72b7dc
tree8d0d9550ca2d1440d4d079a9662b71751a742c19
parenta483450fa24a365f21b67296bebcbb10cc336da3
BUG/MEDIUM: stconn: Don't report abort from SC if read0 was already received

SC_FL_ABRT_DONE flag should never be set when SC_FL_EOS was already
set. These both flags were introduced to replace the old CF_SHUTR and to
have a flag for shuts driven by the stream and a flag for the read0 received
by the mux. So both flags must not be seen at same time on a SC. It is
espeically important because some processing are performed when these flags
are set. And wrong decisions may be made.

This patch must be backproted as far as 2.8.
src/stconn.c