SSL: resetting of flush flag after the data was written.

There is no need to flush next chunk of data if it does not contain a buffer
with the flush or last_buf flags set.
This commit is contained in:
Valentin Bartenev 2013-01-28 15:35:12 +00:00
parent 693ba0179e
commit c857dade60

View File

@ -1232,6 +1232,8 @@ ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
break;
}
flush = 0;
buf->pos = buf->start;
buf->last = buf->start;