]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: Datagrams and packet parsing support
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 10 Jan 2024 15:48:51 +0000 (16:48 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Jun 2025 16:37:34 +0000 (18:37 +0200)
commit43d88a44f1df486dc37bb4937aa7b0960d4963de
tree2148e81f3af54da1165d1a471e9efab73cd86b9b
parent266b10b8a4456f87fffdf2a3fca9e990fc9eeb5c
MINOR: quic-be: Datagrams and packet parsing support

Modify quic_dgram_parse() to stop passing it a listener as third parameter.
In place the object type address of the connection socket owner is passed
to support the haproxy servers with QUIC as transport protocol.
qc_owner_obj_type() is implemented to return this address.
qc_counters() is also implemented to return the QUIC specific counters of
the proxy of owner of the connection.
quic_rx_pkt_parse() called by quic_dgram_parse() is also modify to use
the object type address used by this latter as last parameter. It is
also modified to send Retry packet only from listeners. A QUIC client
(connection to haproxy QUIC servers) must drop the Initial packets with
non null token length. It is also not supposed to receive O-RTT packets
which are dropped.
include/haproxy/quic_conn.h
include/haproxy/quic_rx.h
src/quic_rx.c
src/quic_sock.c