mirror of
https://github.com/nginx/nginx.git
synced 2025-06-13 06:12:44 +08:00
do not pass incoming buf chain twice if data are ready,
the bug was introduced in r3072
This commit is contained in:
parent
d0afc39841
commit
9963b19f69
@ -174,6 +174,7 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
n = ngx_file_aio_read(file, &e->aio_preload, 1, offset, r->pool);
|
n = ngx_file_aio_read(file, &e->aio_preload, 1, offset, r->pool);
|
||||||
|
|
||||||
if (n > 0) {
|
if (n > 0) {
|
||||||
|
in = NULL;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user