]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: Store asap the DCID
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 12 Jan 2024 13:39:08 +0000 (14:39 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Jun 2025 16:37:34 +0000 (18:37 +0200)
commit2d076178c619ca81b4ae3cf36fd2357a6c0f5c2c
tree676c5a27e5248069a38fd7d8b5f4fb33a4809ae0
parentb4a9b53515df4bd1c968182d936c12c4f8dd1023
MINOR: quic-be: Store asap the DCID

Store the peer connection ID (SCID) as the connection DCID as soon as an Initial
packet is received.
Stop comparing the packet to QUIC_PACKET_TYPE_0RTT is already match as
QUIC_PACKET_TYPE_INITIAL.
A QUIC server must not send too short datagram with ack-eliciting packets inside.
This cannot be done from quic_rx_pkt_parse() because one does not know if
there is ack-eliciting frame into the Initial packets. If the packet must be
dropped, this is after having parsed it!
include/haproxy/quic_conn-t.h
src/quic_rx.c