]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: simplify check for calling sock_get_old_sockets
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 7 Oct 2024 08:40:35 +0000 (10:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commitf4e73b4302c4a5d4ef6ba8ab3fba420c6bffc48b
treef8817bc4f1c754f0ddb6fee6ebdc457c71a34244
parentc4795e4019b0d1762c2a835435df4b32fdf64bbc
MINOR: startup: simplify check for calling sock_get_old_sockets

MODE_CHECK and MODE_CHECK_CONDITION are applied now very early in
step_init_1() and step_init_2() in order to check the configuration or to check
some condition provided via the command line. When these checks have
terminated, the main process exits. So, no longer need to verify these modes at
the moment, when the current process have already done its basic initialization
routines and is asking for listeners sockets from the previously started one.
src/haproxy.c