Mercurial > hg > nginx
changeset 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 | 4df9795fb77f |
children | e29c1ede905f |
files | src/event/quic/ngx_event_quic.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.c Thu Sep 09 15:40:08 2021 +0300 +++ b/src/event/quic/ngx_event_quic.c Thu Sep 09 19:12:27 2021 +0300 @@ -730,11 +730,6 @@ /* 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; }