]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listeners: move the LI_O_MWORKER flag to the receiver
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 14:11:46 +0000 (16:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 16:43:05 +0000 (18:43 +0200)
commit18c20d28d7efc4ef5b48ce6bd1984ca0c356ff08
tree53244dff8630ec6f3aa5c568a480446dd6b3e951
parent75c98d166e03a153637d4ceb88cf5a2f46f80430
MINOR: listeners: move the LI_O_MWORKER flag to the receiver

This listener flag indicates whether the receiver part of the listener
is specific to the master or to the workers. In practice it's only used
by the master's CLI right now. It's used to know whether or not the FD
must be closed before forking the workers. For this reason it's way more
of a receiver's property than a listener's property, so let's move it
there under the name RX_F_MWORKER. The rest of the code remains
unchanged.
include/haproxy/listener-t.h
include/haproxy/receiver-t.h
src/cli.c
src/listener.c
src/mworker.c