]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: switch DEBUG_DONT_SHARE_POOLS to runtime
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Feb 2022 16:31:50 +0000 (17:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 16:11:33 +0000 (17:11 +0100)
commitfd8b737e2c29a886366808258234887fd10e50a5
treeddd72258c21907d1efcc15a80e72c5fb50314795
parent8d0273ed88ceac6d02bc30234d07dd77dee89b11
MINOR: pools: switch DEBUG_DONT_SHARE_POOLS to runtime

This test used to appear at a single location in create_pool() to
enable a check on the pool name or unconditionally merge similarly
sized pools.

This patch introduces POOL_DBG_DONT_MERGE and conditions the test on
this new runtime flag, that is preset according to the aforementioned
debugging option.
include/haproxy/pool-t.h
src/pool.c