diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-01-20 12:23:00 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-01-20 12:23:00 +0000 |
commit | 8e8251a317983b8337856c2bcbbe54d5bdb088e4 (patch) | |
tree | 7d1684b612fda3ce25bafb1ac73264116e430d75 | |
parent | 25a3da354aea38bec3d4d207a33b1be8f021d78f (diff) | |
download | nginx-8e8251a317983b8337856c2bcbbe54d5bdb088e4.tar.gz nginx-8e8251a317983b8337856c2bcbbe54d5bdb088e4.zip |
fix large stderr handling without http cache
patch by Maxim Dounin
the bug has been introduced in r3461
-rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 3 |
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; } |