]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: startup: dump keywords only in worker if started with -W -dKAll
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 29 Oct 2024 18:25:07 +0000 (19:25 +0100)
committerValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 30 Oct 2024 09:01:28 +0000 (10:01 +0100)
commitbbe7828d497553701f6e32a2d55a9c820a49d293
treec47bac565ad86b915ff092cd656ac3d7b1234eae
parentea824aebc1acc172e6cc8318ff6bc352fa03b94c
BUG/MINOR: startup: dump keywords only in worker if started with -W -dKAll

If haproxy was started with -W -dK*, after master-worker refactoring, we dump
registered keywords to stdout twice in master and in worker processes. This
information is redundant and output has no longer the right format. So, as the
keyword registration happens very early before the fork, let's dump keywords
only in the worker context, if haproxy was launched with -W.

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