mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 20:53:30 +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);
|
||||
|
||||
if (n > 0) {
|
||||
in = NULL;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user