]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: protocol: add the control layer type in the protocol struct
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 15:50:45 +0000 (17:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commita54553f74f060b34a6fdace895a7262668f5b2fe
tree67f74bb369828e501c5a570de410c9957d701177
parent65ec4e3ff7e9b5b1ce9a52a0e2d8c732f071460a
MINOR: protocol: add the control layer type in the protocol struct

This one will be needed to more accurately select a protocol. It may
differ from the socket type for QUIC, which uses dgram at the socket
layer and provides stream at the control layer. The upper level requests
a control layer only so we need this field.
include/haproxy/protocol-t.h
src/proto_sockpair.c
src/proto_tcp.c
src/proto_udp.c
src/proto_uxst.c