]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: QUIC connection allocation adaptation (qc_new_conn())
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 5 Jan 2024 15:32:42 +0000 (16:32 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Jun 2025 16:37:34 +0000 (18:37 +0200)
commit29fb1aee57288a8b16ed91771ae65c2bfa400128
tree1b34534480c076d0de307fb1e743b7402ffb48ac
parent9831f596ea976fbfbf3fe56235cf9a526f46db4d
MINOR: quic-be: QUIC connection allocation adaptation (qc_new_conn())

For haproxy QUIC servers (or QUIC clients), the peer is considered as validated.
This is a property which is more specific to QUIC servers (haproxy QUIC listeners).
No <odcid> is used for the QUIC client connection. It is used only on the QUIC server side.
The <token_odcid> is also not used on the QUIC client side. It must be embedded into
the transport parameters only on the QUIC server side.
The quic_conn is created before the socket allocation. So, the local address is
zeroed.
Initilize the transport parameter with qc_srv_params_init().
Stop hardcoding the <server> parameter passed value to qc_new_isecs() to correctly
initialize the Initial secrets.
src/quic_conn.c