]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: add a new tune.idle-pool.shared global setting.
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2020 16:49:24 +0000 (18:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2020 17:07:37 +0000 (19:07 +0200)
commit76cc69901763bf4bddc6200bcd5c7141de74a577
treed0c62d70e79898a481f6d7146b91ffb54d8c99f3
parent83ca305ddc2222ec269e18a9df6d519ed0f08ae8
MINOR: config: add a new tune.idle-pool.shared global setting.

Enables ('on') or disables ('off') sharing of idle connection pools between
threads for a same server. The default is to share them between threads in
order to minimize the number of persistent connections to a server, and to
optimize the connection reuse rate. But to help with debugging or when
suspecting a bug in HAProxy around connection reuse, it can be convenient to
forcefully disable this idle pool sharing between multiple threads, and force
this option to "off". The default is on.

This could have been nice to have during the idle connections debugging,
but it's not too late to add it!
doc/configuration.txt
include/haproxy/global-t.h
src/backend.c
src/haproxy.c
src/server.c