]> git.kaiwu.me - nginx.git/commit
Discard packets without fixed bit or reserved bits set.
authorVladimir Homutov <vl@nginx.com>
Wed, 13 May 2020 22:06:45 +0000 (01:06 +0300)
committerVladimir Homutov <vl@nginx.com>
Wed, 13 May 2020 22:06:45 +0000 (01:06 +0300)
commitd4f9bba1110b95cabf964075031583e1816be56b
tree9e9feff7c53b938b1352072abc331fcbc21d6fa4
parentcb316c5f589593c368404e59e7c1094864724481
Discard packets without fixed bit or reserved bits set.

Section 17.2 and 17.3 of QUIC transport:

Fixed bit: Packets containing a zero value for this bit are not
valid packets in this version and MUST be discarded.

Reserved bit: An endpoint MUST treat receipt of a packet that has
a non-zero value for these bits, after removing both packet and
header protection, as a connection error of type PROTOCOL_VIOLATION.
src/event/ngx_event_quic.c
src/event/ngx_event_quic_protection.c
src/event/ngx_event_quic_transport.c
src/event/ngx_event_quic_transport.h