]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: add read_cfg_in_discovery_mode
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 7 Oct 2024 09:44:48 +0000 (11:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commit6615e464562ceeea0fd480a32d73e3b5af73eef7
tree81fd1d886de56969d39fb8b8a75ded37e4f2eaa2
parent1cee184145d3c4552ea71146882e448e05cd5501
MINOR: startup: add read_cfg_in_discovery_mode

Let's encapsulate here the code to load and to read the configuration at the
first time in MODE_DISCOVERY. This makes the code of main() more readable and
this adds the structure for adding necessary master initializations routines
to support master recovery mode.
src/haproxy.c