[PATCH] Fastcgi: fix large stderr handling without cache

Maxim Dounin mdounin at mdounin.ru
Wed Jan 19 22:06:26 MSK 2011


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1295463965 -10800
# Node ID 861939dcbd212e535cbee15c574a76bd7a72917a
# Parent  f02ddde4a240628b002b3fc85aa19bb38e7c5d85
Fastcgi: fix large stderr handling without cache.

diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1280,6 +1280,8 @@ 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;



More information about the nginx-devel mailing list