diff options
author | Vladimir Homutov <vl@nginx.com> | 2020-10-27 00:14:24 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2020-10-27 00:14:24 +0300 |
commit | 68f7e9540a0852bc69453058ae7588c77a3a1494 (patch) | |
tree | afc1c940fc2636eb172f706137b88699233fdc57 /src/http/ngx_http_request.c | |
parent | a1473ce8b08cba7959daee8860677f70d4e36c8a (diff) | |
download | nginx-68f7e9540a0852bc69453058ae7588c77a3a1494.tar.gz nginx-68f7e9540a0852bc69453058ae7588c77a3a1494.zip |
QUIC: cleanup send context properly.
The patch resets ctx->frames queue, which may contain frames. It was possible
that congestion or amplification limits prevented all frames to be sent.
Retransmitted frames could be accounted twice as inflight: first time in
ngx_quic_congestion_lost() called from ngx_quic_resend_frames(), and later
from ngx_quic_discard_ctx().
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions