diff src/http/modules/ngx_http_fastcgi_module.c @ 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 1ba712d077d1
children 502a6b0acf3f
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;
                     }