BUG/MINOR: quic: reject retry_source_cid TP on server side
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 6 May 2025 15:59:37 +0000 (17:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 May 2025 15:01:43 +0000 (17:01 +0200)
commitf66a92724a8f8469e98abcaeccf46cc58ea7fb5c
treea75d37e84cfffcbef14f4d211342e5f6acdc0309
parentb70be5c97c713c12e9e2a2483b7c52a5a849fcd4
BUG/MINOR: quic: reject retry_source_cid TP on server side

Close the connection on error if retry_source_connection_id transport
parameter is received. This is specified by RFC 9000 as this parameter
must not be emitted by a client. Previously, it was silently ignored.

This should be backported up to 2.6. Note that is relies on previous
patch "MINOR: quic: extend return value on TP parsing".

(cherry picked from commit 10f1f1adce032742d60fe14ee780871c4e6a1db1)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/quic_tp.c