BUG/MINOR: quic: reject NEW_TOKEN frames from clients
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Jan 2025 17:22:00 +0000 (18:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Jan 2025 10:30:49 +0000 (11:30 +0100)
commitcd6bbcd2508f9ad9263fbfebb262a09c4a3c0e2a
tree4d6f7c94a51f5988df6e38e927266ff07cfc1178
parent8eaf5b681ccd3f11ff2651a5b92671444b55cde2
BUG/MINOR: quic: reject NEW_TOKEN frames from clients

As specified by RFC 9000, reject NEW_TOKEN frames emitted by clients.
Close the connection with error code PROTOCOL_VIOLATION.

This must be backported up to 2.6.

(cherry picked from commit 4a5d82a97d9269eb17f9b92af6c8a9cd904705cd)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 21c807cc2233e5ca9f450d767311c8e12bbb9d70)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/quic_rx.c