]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mworker: each worker socketpair is a CLI listener
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Oct 2018 12:47:30 +0000 (14:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 28 Oct 2018 12:51:38 +0000 (13:51 +0100)
commitce83b4a5dd48c000dec68f9d551945d21e9ac7ac
tree76639734e1e7f09e4a9f118efdcea0745d5cb262
parentf1a62860c83a8492bdbd673c8ee6a3607c051d5b
MEDIUM: mworker: each worker socketpair is a CLI listener

The init code of the mworker_proc structs has been moved before the
init of the listeners.

Each socketpair is now connected to a CLI within the workers, which
allows the master to access their CLI.

The inherited flag of the worker side socketpair is removed so the
socket can be closed in the master.
include/proto/cli.h
src/cli.c
src/haproxy.c