]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: initcalls: Add a new initcall stage, STG_INIT_2
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 16 Oct 2025 13:45:52 +0000 (15:45 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 20 Oct 2025 13:04:41 +0000 (15:04 +0200)
commit945aa0ea82400c0b004bf942fffa19b4fafb35c4
tree6b3542c5df5c526b91a9b4a9c25f29ff59c9adae
parente63e98f1d83547fa2911ff896c1e33d9cfbcf58e
MINOR: initcalls: Add a new initcall stage, STG_INIT_2

Add a new initcall stage, STG_INIT_2, for stuff to be called after
step_init_2() is called, so after we know for sure that global.nbthread
will be set.
Modify stick-tables stkt_late_init() to run at STG_INIT_2 instead of
STG_INIT, in anticipation for it to be enhanced and have a need for
global.nbthread.
include/haproxy/initcall.h
src/haproxy.c
src/stick_table.c