Update c->sent in ngx_ssl_send_chain() even if SSL buffer is not used.

This commit is contained in:
Valentin Bartenev 2012-05-14 16:30:33 +00:00
parent 9a79c3431a
commit 0215fcc9b8

View File

@ -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;