]> git.ipfire.org Git - thirdparty/haproxy.git/commit
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)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Feb 2025 10:19:32 +0000 (11:19 +0100)
commitd16c534511ca9e75437839bf654d45faf2992e0e
tree462d5bf33c8b48c256c9df1938a585ed46720205
parentf7e571859629b40defb37ce3d4331a571ba619ec
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.
include/haproxy/mux_spop-t.h
src/mux_spop.c