summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-01-21 20:54:40 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-01-21 20:54:40 +0000
commit7a86f07057c9ba2c25301211605a5e93394ff504 (patch)
treec9f283d21b11aa9d1e3eb331741c242437364678
parent7dcbfe67efe979049b4217e6ec8f380be34cd3c5 (diff)
downloadnginx-7a86f07057c9ba2c25301211605a5e93394ff504.tar.gz
nginx-7a86f07057c9ba2c25301211605a5e93394ff504.tar.bz2
fix fastcgi_store
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index c6d32877c..6ed7c8f1c 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -2217,7 +2217,7 @@ ngx_http_upstream_process_request(ngx_http_request_t *r)
tf = u->pipe->temp_file;
- if (p->upstream_eof) {
+ if (p->upstream_eof || p->upstream_done) {
if (u->headers_in.status_n == NGX_HTTP_OK
&& (u->headers_in.content_length_n == -1