Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-01-20 15:23:00 +0300
committerIgor Sysoev <igor@sysoev.ru>2011-01-20 15:23:00 +0300
commit8e8251a317983b8337856c2bcbbe54d5bdb088e4 (patch)
tree7d1684b612fda3ce25bafb1ac73264116e430d75 /src
parent25a3da354aea38bec3d4d207a33b1be8f021d78f (diff)
fix large stderr handling without http cache
patch by Maxim Dounin the bug has been introduced in r3461
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c3
1 files changed, 2 insertions, 1 deletions
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;
}