From: Sergey Kandaurov Date: Mon, 5 Oct 2020 12:02:38 +0000 (+0100) Subject: QUIC: zero out packet length in frames prior to send. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=3309b1e8dfd88af0bcadc98b14ac65349d8aa61c;p=nginx.git 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. --- diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index ed7922909..0c32be355 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -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;