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:
Sergey Kandaurov 2020-10-05 13:02:38 +01:00
parent 4ed768d3d1
commit 3309b1e8df

View File

@ -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;