mirror of
https://github.com/nginx/nginx.git
synced 2024-12-31 19:27:43 -06:00
Update c->sent in ngx_ssl_send_chain() even if SSL buffer is not used.
This commit is contained in:
parent
9a79c3431a
commit
0215fcc9b8
@ -995,6 +995,7 @@ ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
||||
}
|
||||
|
||||
in->buf->pos += n;
|
||||
c->sent += n;
|
||||
|
||||
if (in->buf->pos == in->buf->last) {
|
||||
in = in->next;
|
||||
|
Loading…
Reference in New Issue
Block a user