]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: listener: move the listener's proto to the receiver
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 17:51:44 +0000 (19:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:05 +0000 (22:08 +0200)
commitb743661f0495247528d74b618301f989ebec46b3
tree4c272547680904cb9c4850430c5140b24d6e3824
parent38ba647f9f35660fad94ea5ed01927d7d749ae4b
REORG: listener: move the listener's proto to the receiver

The receiver is the one which depends on the protocol while the listener
relies on the receiver. Let's move the protocol there. Since there's also
a list element to get back to the listener from the proto list, this list
element (proto_list) was moved as well. For now when scanning protos, we
still see listeners which are linked by their rx.proto_list part.
include/haproxy/listener-t.h
src/listener.c
src/log.c
src/proto_sockpair.c
src/proto_tcp.c
src/proto_udp.c
src/proto_uxst.c
src/protocol.c
src/session.c
src/sock.c
src/stream.c