Fixed QUIC buffer consumption in send_chain().
This commit is contained in:
parent
f5497fb4b2
commit
29f6610c6a
1 changed files with 2 additions and 1 deletions
|
@ -2849,8 +2849,9 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in,
|
|||
return in;
|
||||
}
|
||||
|
||||
b->pos += n;
|
||||
|
||||
if (n != (ssize_t) len) {
|
||||
b->pos += n;
|
||||
return in;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue