comparison src/event/ngx_event_timer.c @ 8544:26a5bd4aff57 quic

QUIC: removed check for packet size beyond MAX_UDP_PAYLOAD_SIZE. The check tested the total size of a packet header and unprotected packet payload, which doesn't include the packet number length and expansion of the packet protection AEAD. If the packet was corrupted, it could cause false triggering of the condition due to unsigned type underflow leading to a connection error. Existing checks for the QUIC header and protected packet payload lengths should be enough.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 08 Sep 2020 13:35:50 +0300
parents 03928f7f209b
children 0c5e84096d99
comparison
equal deleted inserted replaced
8543:9aedab0f0dff 8544:26a5bd4aff57