MINOR: mux-spop: Set SPOP_CF_ERROR flag on connection error only
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 4 Feb 2025 09:58:35 +0000 (10:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Feb 2025 10:43:06 +0000 (11:43 +0100)
commitf35bebdec4597669da96a400dd7cf379a2d0b5f5
tree21646b427fefbc7ef8b5005e97bdafb46b706d8b
parent947d7a641d3ad3ece4dd87cbf10cfae507acb870
MINOR: mux-spop: Set SPOP_CF_ERROR flag on connection error only

The SPOP_CF_ERROR flag is now set on connection error only. It was also set
on some demux failures. But it is not mandatory because the connection is
closed anyway. And it is handy to have a flag dedicated to tcp connection
error. It was the original purpose of this flag.

This patch could be backported to 3.1 to ease future backports.

(cherry picked from commit 514a912a4d15c834a034be8ea7675c3ae0822080)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/mux_spop.c