]> git.kaiwu.me - nginx.git/commit
QUIC: do not update largest packet number from a bad packet.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 1 Sep 2020 12:21:49 +0000 (15:21 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 1 Sep 2020 12:21:49 +0000 (15:21 +0300)
commit208735967547b989c243b70370061ba422c229d7
tree650a29220badbc8d826ecd6eab9dcf8a90eaadb1
parent6f0e1bc14ff0324c3b3680aa4731ce224e517295
QUIC: do not update largest packet number from a bad packet.

The removal of QUIC packet protection depends on the largest packet number
received.  When a garbage packet was received, the decoder still updated the
largest packet number from that packet.  This could affect removing protection
from subsequent QUIC packets.
src/event/ngx_event_quic_protection.c