MINOR: mux-spop: Report EOI on the SE when a ACK is received for a stream
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 4 Feb 2025 09:53:20 +0000 (10:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Feb 2025 10:43:06 +0000 (11:43 +0100)
commit947d7a641d3ad3ece4dd87cbf10cfae507acb870
tree752ee40cd710f168bb2563b7e8a923bfc1bc3023
parent9c7243137e95cb7f4e37c1c4aeb72fda9a53a330
MINOR: mux-spop: Report EOI on the SE when a ACK is received for a stream

The spop stream now reports the end of input when the ACK is transferred to
the SPOE applet. To do so, the flag SPOP_SF_ACK_RCVD was added. It is set on
the SPOP stream when its ACK is received by the SPOP connection.

In addition when SPOP stream flags are propagated to the SE, the error is
now reported if end of input was not reached instead of testing the
connection error code. It is more accurate.

This patch should be backported to 3.1.

(cherry picked from commit d16c534511ca9e75437839bf654d45faf2992e0e)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/mux_spop-t.h
src/mux_spop.c