BUG/MINOR: mux-spop: Don't report error for stream if ACK was already received
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 13 May 2025 16:05:26 +0000 (18:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 May 2025 15:01:43 +0000 (17:01 +0200)
commit518a2ce18929f4bdfd376ee2378152ae97da8105
tree996da1aaab30ef7cee10c1c8467d5c8c17c07376
parentd1998c9b151f7675fff883281dd6af763416917e
BUG/MINOR: mux-spop: Don't report error for stream if ACK was already received

When a SPOP connection was closed or was in error, an error was
systematically reported on all its SPOP streams. However, SPOP streams that
already received their ACK frame must be excluded. Otherwise if an agent
sends a ACK and close immediately, the ACK will be ignored because the SPOP
stream will handle the error first.

This patch must be backported to 3.1.

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