From 8e8251a317983b8337856c2bcbbe54d5bdb088e4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 20 Jan 2011 12:23:00 +0000 Subject: [PATCH] fix large stderr handling without http cache patch by Maxim Dounin the bug has been introduced in r3461 --- src/http/modules/ngx_http_fastcgi_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index 04b01fbab..12a1e81d8 100644 --- 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_request_t *r) } 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; }