Mercurial > hg > nginx-quic
diff src/event/ngx_event.h @ 8081:9aedab0f0dff quic
QUIC: check that the packet length is of at least sample size.
From quic-tls draft, section 5.4.2:
An endpoint MUST discard packets that are not long enough to contain
a complete sample.
The check includes the Packet Number field assumed to be 4 bytes long.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 08 Sep 2020 13:28:56 +0300 |
parents | efd71d49bde0 |
children | 45db1b5c1706 ec2e6893caaa |