Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic.c @ 8846:cbbe901c199d quic
QUIC: removed Firefox workaround for trailing zeroes in datagrams.
This became unnecessary after discarding invalid packets since a6784cf32c13.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 09 Sep 2021 19:12:27 +0300 |
parents | a9f6540e61da |
children | b5296bd8631c |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -730,11 +730,6 @@ ngx_quic_input(ngx_connection_t *c, ngx_ /* b->pos is at header end, adjust by actual packet length */ b->pos = pkt.data + pkt.len; - /* firefox workaround: skip zero padding at the end of quic packet */ - while (b->pos < b->last && *(b->pos) == 0) { - b->pos++; - } - p = b->pos; }