BUG/MINOR: quic: reject HANDSHAKE_DONE as server
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Feb 2024 17:13:08 +0000 (18:13 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 15 Feb 2024 16:07:24 +0000 (17:07 +0100)
commitcc29ab437ea6348aa1defcab15a306742a9fd826
tree89dcfbfe1484e5beb16ee26832c3d275010419f6
parent80b82c2192368e022487390f928c84a25ca7cd79
BUG/MINOR: quic: reject HANDSHAKE_DONE as server

As specified in RFC 9000, a client must never emit a HANDSHAKE_DONE
frame. If this happens, the server must close the connection with error
PROTOCOL VIOLATION.

Previously, such a frame was silently discarded on server side. The
connection remained opened which is not conformant to the specification.

This should be backported up to 2.6.
src/quic_rx.c