MINOR: mworker/cli: create MASTER proxy before mcli listeners
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 14 Oct 2024 09:27:21 +0000 (11:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commit26ad5465cc55ca1d181ae3b314beb23f37fb6110
tree420b5561600b384e8aba8b7f3eb3f633629b4369
parent6ec38c9a744fdba27961ceef16029402fff03697
MINOR: mworker/cli: create MASTER proxy before mcli listeners

For the master process we always need to create a MASTER proxy, even if
master cli settings were not provided via command line, because now we bind a
listener in the master process context at ipc_fd[0]. So, MASTER proxy should be
already allocated at this moment.
src/haproxy.c
src/mworker.c