From: Igor Sysoev Date: Tue, 27 Jul 2010 15:26:33 +0000 (+0000) Subject: fix r3707: cache node should be freed be a response is not cached X-Git-Tag: release-0.8.47~5 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=6af21b7cda1f4297122cb8a171299071b8cd7fdf;p=nginx.git fix r3707: cache node should be freed be a response is not cached --- diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index de2b97009..93a0e5324 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1722,7 +1722,7 @@ ngx_http_upstream_intercept_errors(ngx_http_request_t *r, #if (NGX_HTTP_CACHE) - if (u->cacheable && r->cache) { + if (r->cache) { time_t valid; ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,