]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: init: encapsulate 'reload' sockpair and master CLI listeners creation
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 26 Jun 2024 14:21:50 +0000 (16:21 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 27 Jun 2024 14:08:42 +0000 (16:08 +0200)
commit5e06d45df72a20674edc7b7c3c41ee661a5b33b6
tree4de131dd5baeb8c96f4cc9a25875798fdc307914
parent6f613faa717e4a57cf8c7294137a9806fab521ab
REORG: init: encapsulate 'reload' sockpair and master CLI listeners creation

Let's encapsulate the logic of 'reload' sockpair and master CLI listeners
creation, used by master CLI into a separate function, as we needed this
only in master-worker runtime  mode. This makes the code of init() more
readable.
include/haproxy/mworker.h
src/haproxy.c
src/mworker.c