]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: allow to check HAPROXY_LOCALPEER in config
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 21 Nov 2024 16:49:24 +0000 (17:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Nov 2024 18:55:21 +0000 (19:55 +0100)
commitaa88d6ee372c8a1c85f1ec29159c082f00ab4726
treeef632dafafb6c12c0efd344e3b23efa5e60230a6
parentd253f3082355f06728ba31620abffe5c547e8207
BUG/MINOR: config: allow to check HAPROXY_LOCALPEER in config

This fixes the commit d6ccd1738bae
("MINOR: startup: set HAPROXY_LOCALPEER only once"). HAPROXY_LOCALPEER could
be checked in the configuration to set some servers settings or listeners. So,
we need to set it just before we read the configuration at the second time.

Let's mark HAPROXY_LOCALPEER as "usable" in the configuration in the related
documentation chapter.

This should not be backported, as related to the latest master-worker
refactoring.
doc/configuration.txt
src/haproxy.c