mirror of
https://github.com/nginx/nginx.git
synced 2025-01-24 07:06:35 -06:00
fix build on amd64
This commit is contained in:
parent
93c3755e26
commit
45d056a788
@ -251,7 +251,8 @@ ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
||||
|
||||
} else if (c->write->ready
|
||||
&& clcf->sendfile_max_chunk
|
||||
&& c->sent - sent >= clcf->sendfile_max_chunk - 2 * ngx_pagesize)
|
||||
&& (size_t) (c->sent - sent)
|
||||
>= clcf->sendfile_max_chunk - 2 * ngx_pagesize)
|
||||
{
|
||||
c->write->delayed = 1;
|
||||
ngx_add_timer(c->write, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user