do not pass incoming buf chain twice if data are ready,
the bug was introduced in r3072
This commit is contained in:
parent
b72ec2f8fd
commit
fc9404e1d9
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue