From: Frédéric Lécaille Date: Fri, 6 Nov 2020 14:40:16 +0000 (+0100) Subject: MINOR: connection: Attach a "quic_conn" struct to "connection" struct. X-Git-Tag: v2.4-dev5~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f7cb170ab059642ab6cd24b04452edd0a96f1e;p=thirdparty%2Fhaproxy.git MINOR: connection: Attach a "quic_conn" struct to "connection" struct. This is a simple patch to prepare the integration of QUIC support to come. quic_conn struct is supposed to embed any QUIC specific information for a QUIC connection. --- diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 4b1a21d131..71272af112 100644 --- a/include/haproxy/connection-t.h +++ b/include/haproxy/connection-t.h @@ -45,6 +45,7 @@ struct proxy; struct server; struct session; struct pipe; +struct quic_conn; /* Note: subscribing to these events is only valid after the caller has really * attempted to perform the operation, and failed to proceed or complete. @@ -496,6 +497,7 @@ struct connection { char *proxy_authority; /* Value of authority TLV received via PROXYv2 */ uint8_t proxy_authority_len; /* Length of authority TLV received via PROXYv2 */ struct ist proxy_unique_id; /* Value of the unique ID TLV received via PROXYv2 */ + struct quic_conn *qc; /* Only present if this connection is a QUIC one */ }; struct mux_proto_list {