]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: do not reject PADDING followed by other frames
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 22 Nov 2021 14:22:48 +0000 (15:22 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 25 Nov 2021 10:13:12 +0000 (11:13 +0100)
commitcb318a80e402d227f7e20ea8019bb6321eadbc24
treebf7508f2afa9e08308715364e774ba823bd1cb1d
parent67e371ea1440c67ed84577d37566b577f7ecd336
MINOR: quic: do not reject PADDING followed by other frames

It is valid for a QUIC packet to contain a PADDING frame followed by
one or several other frames.

quic_parse_padding_frame() does not require change as it detect properly
the end of the frame with the first non-null byte.

This allow to use quic-go implementation which uses a PADDING-CRYPTO as
the first handshake packet.
src/xprt_quic.c