]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cli: make "show cli sockets" use its own context
authorWilly Tarreau <w@1wt.eu>
Thu, 5 May 2022 17:11:05 +0000 (19:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:36 +0000 (18:13 +0200)
commitb128f49d890b391de0c936d36f046b9d7bcd2815
tree1581dc1c023d9ada71e5b28536efb17f2ec8eca8
parent4df54eb15177f2b661d9c39e45f36c05e93830f8
CLEANUP: cli: make "show cli sockets" use its own context

Let's create a show_sock_ctx to store the bind_conf and the listener.
The entry is reserved when entering the I/O handler since there's no
parser here. That's fine because the function doesn't touch the area.
src/cli.c