changeset 3850:ca7b9caa20e5

fix large stderr handling without http cache patch by Maxim Dounin the bug has been introduced in r3461
author Igor Sysoev <igor@sysoev.ru>
date Thu, 20 Jan 2011 12:23:00 +0000
parents d96c07f729cc
children 033015e01eec
files src/http/modules/ngx_http_fastcgi_module.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1280,8 +1280,9 @@ ngx_http_fastcgi_process_header(ngx_http
                         } else {
                             u->buffer.pos = u->buffer.start;
                         }
+#else
+                        u->buffer.pos = u->buffer.start;
 #endif
-
                         u->buffer.last = u->buffer.pos;
                         f->large_stderr = 1;
                     }