]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: make sure 'no-memory-trimming' is always used
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Mar 2023 13:52:30 +0000 (14:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Mar 2023 16:29:23 +0000 (17:29 +0100)
commit4db0b0430dcd2d0d853b21a10fc85e9c325c3e84
tree455560987acd16b9f45b4548f4e99433a897cb58
parentf4e7616e6c486134f229bb686eab1c660b5c24a6
MINOR: pools: make sure 'no-memory-trimming' is always used

The global option 'no-memory-trimming' was added in 2.6 with commit
c4e56dc58 ("MINOR: pools: add a new global option "no-memory-trimming"")
but there were some cases left where it was not considered. Let's make
is_trim_enabled() also consider it.
src/pool.c