mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -3840,6 +3840,7 @@ ngx_quic_send_frames(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx,
|
|||
p += len;
|
||||
f->pnum = ctx->pnum;
|
||||
f->last = now;
|
||||
f->plen = 0;
|
||||
}
|
||||
|
||||
out.len = p - out.data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue