]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: stream: Decrement server current session counter on L7 retry
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 May 2021 16:23:59 +0000 (18:23 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 May 2021 07:21:12 +0000 (09:21 +0200)
commite763c8c99f7134a009117a59e6a6002b3c9e8c84
treef038ef596cd1af88654529e2b455df428b022bed
parent10a8670f280759ace74d06c0bb18eff4c568bcec
BUG/MINOR: stream: Decrement server current session counter on L7 retry

When a L7 retry is performed, we must not forget to decrement the current
session counter of the assigned server. Of course, it must only be done if
the current session is already counted on the server, thus if SF_CURR_SESS
flag is set on the stream.

This patch is related to the issue #1003. It must be backported as far as
2.0.
src/http_ana.c