]> git.kaiwu.me - haproxy.git/commit
MINOR: connections: Enhance tune.idle-pool.shared
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 26 Mar 2026 15:53:47 +0000 (16:53 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 27 Mar 2026 15:14:53 +0000 (16:14 +0100)
commit506cfcb5d40695e55b2f914b129afe01fe9258c1
treeb2542a5eca2078e18aa7d6570712bb601da9cefe
parent418f0c0bbe1a6663f116fce93d4b3f00d5380a78
MINOR: connections: Enhance tune.idle-pool.shared

There are two settings to control idle connection sharing across
threads.
tune.idle-pool.shared, that enables or disables it, and then
tune.takeover-other-tg-connections, which lets you or not get idle
connections from other thread groups.
Add a new keyword for tune.idle-pool.shared, "full", that lets you get
connections from other thread groups (equivalent to "full" keyword for
tune.takeover-other-tg-connections). The "on" keyword now will be
equivalent to the "restrict" one, which allowed getting connection from
other thread groups only when not doing it would result in a connection
failure (when reverse-http or when strict-macxonn are used).
tune.takeover-other-tg-connections will be deprecated.
doc/configuration.txt
src/server.c