]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: enable pools with DEBUG_FAIL_ALLOC as well
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Jan 2022 15:28:06 +0000 (16:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Jan 2022 16:31:01 +0000 (17:31 +0100)
commit39fd546d4b23914cb4bd375d2f628897362dc82d
tree4d62bccff219136ca24d1ff8585425f88b97e2ab
parent3b990fe0bee3072cb70c965c202707cdad0f29cd
MINOR: pools: enable pools with DEBUG_FAIL_ALLOC as well

During 2.4-dev, fault injection was enabled for cached pools with commit
207c09509 ("MINOR: pools: move the fault injector to __pool_alloc()"),
except that the condition for CONFIG_HAP_POOLS still depended on
DEBUG_FAIL_ALLOC not being set, which limits the usability to cases
where the define is set by hand. Let's remove it from the equation as
this is not a constraint anymore. While a bit old, there's no need to
backport this as it's only used during development.
include/haproxy/defaults.h