]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-ana: Adjust the server status before the L7 retries
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Nov 2024 15:33:55 +0000 (16:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 Nov 2024 08:22:06 +0000 (09:22 +0100)
commit2a5da31ccef239e21d17ec34430fdc6b51b9cc67
tree38a8924dea0787f5371f09b93d0eaff1ed6ebedf
parent5c15899410c722e2ff4a01f6d70dc40095b43ff5
BUG/MINOR: http-ana: Adjust the server status before the L7 retries

The server status must be adjusted, if necessary, at each retry. It is
properly performed when "obersve layer4" directive is set. But for the layer
7, only the last attempt was considered.

When the L7 retries were implemented, all retries were added before the
server status adjutement. So only the last attempt was considered. To fix
the issue, we must adjut the server status first, and then try to perform a
L7 retry.

This patch should fix the issue #2679. It must be backported to all stable
versions.
src/http_ana.c