changeset 3709:64777690c697

fix r3707: cache node should be freed be a response is not cached
author Igor Sysoev <igor@sysoev.ru>
date Tue, 27 Jul 2010 15:26:33 +0000
parents c1385a3b8093
children 5f63b6ab4d4b
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,