]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: init: initialize the trash earlier
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Jul 2023 16:42:53 +0000 (18:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Sep 2023 14:25:19 +0000 (16:25 +0200)
commit5f10176e2c9eca3bbae39a7707ef226f3e2abe0d
treeeb32b560e5bac8727a6b62c534b590c385f3b3b0
parente3e218b98e59fe10339a8894e87b879694d78ed6
MEDIUM: init: initialize the trash earlier

More and more utility functions rely on the trash while most of the init
code doesn't have access to it because it's initialized very late (in
PRE_CHECK for the initial one). It's a pool, and it purposely supports
being reallocated, so let's initialize it in STG_POOL so that early
STG_INIT code can at least use it.
doc/internals/api/initcalls.txt
src/chunk.c
src/haproxy.c