| commit | 6af21b7cda1f4297122cb8a171299071b8cd7fdf | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Tue Jul 27 15:26:33 2010 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Tue Jul 27 15:26:33 2010 +0000 |
| tree | 4c8fbab45b771186054addc603818b41a4128515 | |
| parent | 3cf3100977606df0f2883174f8ff81357f686d7f [diff] |
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 de2b970..93a0e53 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -1722,7 +1722,7 @@ #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,