]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: receiver: add a receiver-specific flag to indicate the socket is bound
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Sep 2020 08:47:07 +0000 (10:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commit0b9150155e499a781ea76c24b9b9a70703b87186
tree554d8679dcdded86ff1f1d5364d44278c15a1507
parent818a92e87af02713c40595ccc66fca4cbd785545
MINOR: receiver: add a receiver-specific flag to indicate the socket is bound

In order to split the receiver from the listener, we'll need to know that
a socket is already bound and ready to receive. We used to do that via
tha LI_O_ASSIGNED state but that's not sufficient anymore since the
receiver might not belong to a listener anymore. The new RX_F_BOUND flag
is used for this.
include/haproxy/receiver-t.h
src/listener.c
src/proto_sockpair.c
src/proto_tcp.c
src/proto_udp.c
src/proto_uxst.c