]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: http-ana: Don't ignore L7 retry errors
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Jun 2026 13:57:50 +0000 (15:57 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Jun 2026 06:55:56 +0000 (08:55 +0200)
commit292b07270c53de5db5d643c761bcecfee157a7fb
tree0d32438828eda0fa84d58c60b0d2f317733398e7
parent7bfa568e27173ecdcd9b95e2e225df3185863f1b
BUG/MEDIUM: http-ana: Don't ignore L7 retry errors

with L7 retries are configured, when the max number of retries is reached
the error must be reported to the client. However, when it was an abort on a
reused connections, the client connection is silently closed. While it is
expected without L7 retries, to let the client retries on its own, it is
unexepcted with L7 retries.

So let's fix it by ignoring the SF_SRV_REUSED flag on the stream when a L7
retry fails. This way, a 502/425 will be reported to the client.

This patch should help to fix the issue #3414. It must be backported to all
supported versions.
src/http_ana.c