]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: http-ana: Only consider client abort for abortonclose
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Mar 2026 10:18:39 +0000 (11:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Mar 2026 10:18:40 +0000 (11:18 +0100)
commit27d7c69e87d52b86d9b5824f04821a54d8ffec1b
tree199f26fd12b5dab5aee0ebcd3e7a8729bcf7ff4c
parentd1c7e565858bd491b8a42c1e432923c0536dbe2a
BUG/MINOR: http-ana: Only consider client abort for abortonclose

When abortonclose option is enabled (by default since 3.3), the HTTP rules
can no longer yield if the client aborts. However, stream aborts were also
considered. So it was possible to interrupt yielding rules, especially on
the response processing, while the client was still waiting for the
response.

So now, when abortonclose option is enabled, we now take care to only
consider client aborts to prevent HTTP rules to yield.

Many thanks to @DirkyJerky for his detailed analysis.

This patch should fix the issue #3306. It should be backported as far as
2.8.
src/flt_spoe.c
src/http_ana.c