diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2021-09-09 19:12:27 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2021-09-09 19:12:27 +0300 |
commit | 4208e67e9808e2d458c0b705184308c41dc72bdf (patch) | |
tree | f8137d96e7fce1bffbed7e975ead00ab786c8e87 /src | |
parent | ef94770e163f1b8e58d18ee1f1bbd45c4a754d33 (diff) | |
download | nginx-4208e67e9808e2d458c0b705184308c41dc72bdf.tar.gz nginx-4208e67e9808e2d458c0b705184308c41dc72bdf.zip |
QUIC: removed Firefox workaround for trailing zeroes in datagrams.
This became unnecessary after discarding invalid packets since a6784cf32c13.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/quic/ngx_event_quic.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index 076e19422..478fc8461 100644 --- 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_buf_t *b, ngx_quic_conf_t *conf) /* 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; } |