]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: startup: don't fork worker if started with -c -W
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 29 Oct 2024 18:14:11 +0000 (19:14 +0100)
committerValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 30 Oct 2024 08:59:59 +0000 (09:59 +0100)
commitd1c6d44976d4b57862a85843887a4f775a6efb6c
treeb48eb44ce55d2e746e512d78cc74d15f64c7628c
parentf0f03b98f773cbf902bed59d0a3008c60fce8a06
BUG/MINOR: startup: don't fork worker if started with -c -W

Don't do master-worker fork if MODE_CHECK is detected from the command line along
with the master-worker mode. We should exit in MODE_CHECK, after the
configuration parsing and validation. So, with the new master-worker architecture
it's better to align this mode with the standalone.

This patch does not need to be backported, as related to the latest
master-worker rework.
src/haproxy.c