Hi!
This PR would allow Connection to check Short Header Packets greasing QUIC Bit.
PlainHeader::decode() can check Long Header Packets with the QUIC Bit set to a value of 0. If EndpointConfig is not set grease_quic_bit with false, it raise PacketDecodeError::InvalidHeader("fixed bit unset"). But, in my understanding, Short Header Packets should be checked QUIC Bit too.
Hi! This PR would allow
Connection
to check Short Header Packets greasing QUIC Bit.PlainHeader::decode()
can check Long Header Packets with the QUIC Bit set to a value of 0. IfEndpointConfig
is not set grease_quic_bit with false, it raisePacketDecodeError::InvalidHeader("fixed bit unset")
. But, in my understanding, Short Header Packets should be checked QUIC Bit too.Thanks.