mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
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:
parent
693ba0179e
commit
c857dade60
@ -1232,6 +1232,8 @@ ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flush = 0;
|
||||||
|
|
||||||
buf->pos = buf->start;
|
buf->pos = buf->start;
|
||||||
buf->last = buf->start;
|
buf->last = buf->start;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user