fix fastcgi_store

This commit is contained in:
Igor Sysoev 2009-01-21 20:54:40 +00:00
parent 7dcbfe67ef
commit 7a86f07057

View File

@ -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