]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connections: Allow taking over connections from other tgroups.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 30 Jan 2025 10:16:40 +0000 (11:16 +0100)
committerOlivier Houchard <cognet@ci0.org>
Wed, 26 Feb 2025 12:00:18 +0000 (13:00 +0100)
commit8de8ed4f48729f07ccdf0671e64483fbc82e0964
treede4d5e474204beb988546fb3a02a2358cae42cab
parentd31b1650aef4cd50177b450259c383d31f0c6358
MEDIUM: connections: Allow taking over connections from other tgroups.

Allow haproxy to take over idle connections from other thread groups
than our own. To control that, add a new tunable,
tune.takeover-other-tg-connections. It can have 3 values, "none", where
we won't attempt to get connections from the other thread group (the
default), "restricted", where we only will try to get idle connections
from other thread groups when we're using reverse HTTP, and "full",
where we always try to get connections from other thread groups.
Unless there is a special need, it is advised to use "none" (or
restricted if we're using reverse HTTP) as using connections from other
thread groups may have a performance impact.
doc/configuration.txt
include/haproxy/fd.h
include/haproxy/global-t.h
src/backend.c
src/cfgparse-global.c
src/fd.c