]> git.kaiwu.me - haproxy.git/commit
MINOR: mworker: stop MASTER proxy listener on worker mcli sockpair
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 22 Oct 2024 13:09:29 +0000 (15:09 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 24 Oct 2024 09:32:20 +0000 (11:32 +0200)
commite9c8e0efc9e7c4c7e6bbbe61e7963baa6f71f8c8
tree5c6524e6305124d24ed3a05dced27b7800aaa356
parent3a5b28e00cb38aa1352a9db7b9eb19b4e54aa6ed
MINOR: mworker: stop MASTER proxy listener on worker mcli sockpair

After sending its "READY" status worker should not keep the access
to MASTER proxy, thus, it shouldn't be able to send any other commands further
to master process.

To achieve this, let's stop in master context master CLI listener attached on
the sockpair shared with worker. We do this just after receiving the worker's
status message.
src/cli.c