]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-ana: Stop to wait for body on client error/abort
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Feb 2026 10:24:27 +0000 (11:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 08:44:16 +0000 (09:44 +0100)
commit0aca25f725199727718e611b392a8f4a8acdbd00
tree8a61d77eb13c1fdb0d07bfe4015cd4c08a82e7a3
parent9e17087aebe0130fc34aaab4e1981e60707e4a82
BUG/MINOR: http-ana: Stop to wait for body on client error/abort

During the message analysis, we must take care to stop wait for the message
body if an error was reported on client side or an abort was detected with
abort-on-close configured (by default now).

The bug was introduced when the "wait-for-body" action was added. Only the
producer state was tested. So, when we were waiting for the request payload,
there was no issue. But when we were waiting for the response payload, error
or abort on client side was not considered.

This patch should be backported to all stable versions.
src/http_ana.c