From 72f7cb170ab059642ab6cd24b04452edd0a96f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 6 Nov 2020 15:40:16 +0100 Subject: [PATCH] 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. --- include/haproxy/connection-t.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 4b1a21d13..71272af11 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 {