]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: quic: close conn on packet reception with incompatible frame
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 Mar 2026 07:38:13 +0000 (09:38 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 Mar 2026 07:52:10 +0000 (09:52 +0200)
commit08cc37a55406a5dde9f7392315d28d523fa34af3
tree2bb1040430d5ade94aec491e1565acb77d42d152
parentb7d1c2f91d6331ef3aa659d8b7518da87ed1f87a
BUG/MINOR: quic: close conn on packet reception with incompatible frame

RFC 9000 lists each supported frames and the type of packets in which it
can be present.

Prior to this patch, a packet with an incompatible frame is dropped.
However, QUIC specification mandates that the connection is immediately
closed with PROTOCOL_VIOLATION error code. This patch completes
qc_parse_frm() to add such connection closure.

This must be backported up to 2.6.
src/quic_frame.c