Fixed QUIC buffer consumption in send_chain().

This commit is contained in:
Roman Arutyunyan 2020-04-21 17:52:32 +03:00
parent 400eb1b628
commit 9275f06a57

View File

@ -2849,8 +2849,9 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in,
return in; return in;
} }
b->pos += n;
if (n != (ssize_t) len) { if (n != (ssize_t) len) {
b->pos += n;
return in; return in;
} }
} }