]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: backend: Remove CO_FL_SESS_IDLE if a client remains on the last server
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jul 2020 16:56:30 +0000 (18:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Jul 2020 12:30:26 +0000 (14:30 +0200)
commite91a526c8fe7bf3b655057d41e8b72a2011b7046
tree524e39f61d9dba43fa0b1cce1429d5b0ca45280c
parent27182297c763fb6f4818c9872692df51d4032d6b
BUG/MINOR: backend: Remove CO_FL_SESS_IDLE if a client remains on the last server

When a connection is picked from the session server list because the proxy or
the session are marked to use the last requested server, if it is idle, we must
marked it as used removing the CO_FL_SESS_IDLE flag and decrementing the session
idle_conns counter.

This patch must be backported as far as 1.9.
src/backend.c