]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: enable the fault injector in all allocation modes
authorWilly Tarreau <w@1wt.eu>
Thu, 15 Apr 2021 14:43:18 +0000 (16:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Apr 2021 13:24:33 +0000 (15:24 +0200)
commit53a7fe49aa0177cbc6f1709b4da268556ef36e09
treed5c8d013b3f3799a256d2d14e4c6a2fa068bd96e
parent2d6f628d34ea6e8f26b486f31840d3bc2dbf3b88
MINOR: pools: enable the fault injector in all allocation modes

The mem_should_fail() call enabled by DEBUG_FAIL_ALLOC used to be placed
only in the no-cache version of the allocator. Now we can generalize it
to all modes and remove the exclusive test on CONFIG_HAP_NO_GLOBAL_POOLS.
include/haproxy/pool-t.h
src/pool.c