]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker/cli: rename and clean mworker_cli_sockpair_new
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 2 Oct 2024 12:49:30 +0000 (14:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commitcc1a631bebb74e06639220b652a79c01f30d2df2
tree08e7f3afa74f6aef2c42fe458e943c2952025370
parent0fbf1973ad20eaa63e302e3273f45a554aee2b93
MINOR: mworker/cli: rename and clean mworker_cli_sockpair_new

Let's rename mworker_cli_sockpair_new() to
mworker_cli_global_proxy_new_listener() to outline that this function creates
the GLOBAL proxy, allocates the listener with "master-socket" bind conf and
attaches this listener to this GLOBAL proxy. Listener is bound to ipc_fd[1] of
the sockpair inherited in master and in worker (master CLI sockpair).
include/haproxy/cli.h
src/cli.c
src/haproxy.c