comparison src/event/ngx_event_quic.c @ 8131:3bde57a0e6ce quic

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.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 05 Oct 2020 13:02:38 +0100
parents 4983357258d7
children 6226f834b420
comparison
equal deleted inserted replaced
8130:a0631204d88a 8131:3bde57a0e6ce
3838 } 3838 }
3839 3839
3840 p += len; 3840 p += len;
3841 f->pnum = ctx->pnum; 3841 f->pnum = ctx->pnum;
3842 f->last = now; 3842 f->last = now;
3843 f->plen = 0;
3843 } 3844 }
3844 3845
3845 out.len = p - out.data; 3846 out.len = p - out.data;
3846 3847
3847 while (out.len < 4) { 3848 while (out.len < 4) {