]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: init: encapsulate code that reads cfg files
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 26 Jun 2024 15:03:04 +0000 (17:03 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 27 Jun 2024 14:09:38 +0000 (16:09 +0200)
commited90ad895c69a5f2f2b0c2016b667f1846b06a62
tree7ccd37bc707946917cafb0d6ef444d45eabc5d6e
parent5e06d45df72a20674edc7b7c3c41ee661a5b33b6
REORG: init: encapsulate code that reads cfg files

Haproxy master process should not read its configuration the second time
after performing reexec and passing to MODE_MWORKER_WAIT. So, to make
this part of init() function more readable and to distinguish better the
point, where configs have been read, let's encapsulate it in a separate
function.
src/haproxy.c