# HG changeset patch # User Igor Sysoev # Date 1280244393 0 # Node ID 64777690c697b95d23f4ea248e7a5cb10688e3db # Parent c1385a3b8093815925f32a977cce8b795c88235a 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 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1722,7 +1722,7 @@ ngx_http_upstream_intercept_errors(ngx_h #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,