mirror of
https://github.com/nginx/nginx.git
synced 2025-06-22 13:51:12 +08:00
QUIC: zero out packet length in frames prior to send.
It could be that a frame was previously sent and may have stale information. This was previously broken by merging frames on resend in b383120afca3.
This commit is contained in:
parent
4ed768d3d1
commit
3309b1e8df
@ -3840,6 +3840,7 @@ ngx_quic_send_frames(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx,
|
|||||||
p += len;
|
p += len;
|
||||||
f->pnum = ctx->pnum;
|
f->pnum = ctx->pnum;
|
||||||
f->last = now;
|
f->last = now;
|
||||||
|
f->plen = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
out.len = p - out.data;
|
out.len = p - out.data;
|
||||||
|
Loading…
Reference in New Issue
Block a user