]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: split main: add step_init_4
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 7 Oct 2024 09:20:57 +0000 (11:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commite5cd81cf8f154a0308c4dc0a08287acd237c433a
tree956d959ebb08119b9b086835fcf1cda7460598ca
parent26a6fdf54277d5dc2bf0bd220e1ff237dd3dc7b0
MINOR: startup: split main: add step_init_4

Let's encapsulate here another part of main, after binding listeners sockets
and before calling the master's code in master-worker mode. This block
contains the code, which applies verbosity settings, checks limits and updates
the ready date. It will take some time to figure out, which of these parts are
really needed for the master, or which ones it could skip. So let's put all
these for the moment in step_init_4() and let's call it for all modes.
src/haproxy.c