]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: spoe: Fix condition to abort processing on client abort
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Mar 2026 09:53:13 +0000 (10:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Mar 2026 10:24:49 +0000 (11:24 +0100)
commit7a1382da79a6f338e19ef5023a10ca2db0b9998f
tree98d500c8ab8f655a09a073d31dc16d0db21bec2d
parent8fe0950511ca7983096c470232bd241a1052e3e0
BUG/MINOR: spoe: Fix condition to abort processing on client abort

The test to detect client aborts in the SPOE, introduced by commit b3be3b94a
("BUG/MEDIUM: spoe: Properly abort processing on client abort"), was no
correct. Producer flags must not be tested. Only the frontend SC must be
tested when the abortonclose option is set.

Because of this bug, when a client aborted, the SPOE processing was aborted
too, regardless the abortonclose option.

This patch must be backpoeted with the commit above, so as far as 3.1.
src/flt_spoe.c