# HG changeset patch # User Igor Sysoev # Date 1252325407 0 # Node ID c09bf4a53b79508bc5962684e6f993d65f8833a9 # Parent 60bbe176475420b0675106ffc4ccc8e348b633cd do not pass incoming buf chain twice if data are ready, the bug was introduced in r3072 diff -r 60bbe1764754 -r c09bf4a53b79 src/http/ngx_http_copy_filter_module.c --- a/src/http/ngx_http_copy_filter_module.c Mon Sep 07 12:08:58 2009 +0000 +++ b/src/http/ngx_http_copy_filter_module.c Mon Sep 07 12:10:07 2009 +0000 @@ -174,6 +174,7 @@ n = ngx_file_aio_read(file, &e->aio_preload, 1, offset, r->pool); if (n > 0) { + in = NULL; continue; }