]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: connection: Attach a "quic_conn" struct to "connection" struct.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 6 Nov 2020 14:40:16 +0000 (15:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Dec 2020 10:57:26 +0000 (11:57 +0100)
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

index 4b1a21d1310e406f8b48c7c69e8925b31e1e450d..71272af112a07889052c674737974c0ea8c6133a 100644 (file)
@@ -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 {