mirror of
https://github.com/nginx/nginx.git
synced 2025-07-24 14:16:20 +08:00
QUIC: removed Firefox workaround for trailing zeroes in datagrams.
This became unnecessary after discarding invalid packets since a6784cf32c13.
This commit is contained in:
parent
ef94770e16
commit
4208e67e98
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user