comparison src/http/ngx_http_upstream.c @ 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 ce6ba077c270
comparison
equal deleted inserted replaced
3708:c1385a3b8093 3709:64777690c697
1720 r->headers_out.www_authenticate = h; 1720 r->headers_out.www_authenticate = h;
1721 } 1721 }
1722 1722
1723 #if (NGX_HTTP_CACHE) 1723 #if (NGX_HTTP_CACHE)
1724 1724
1725 if (u->cacheable && r->cache) { 1725 if (r->cache) {
1726 time_t valid; 1726 time_t valid;
1727 1727
1728 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 1728 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
1729 "http upstream cache fd: %d", r->cache->file.fd); 1729 "http upstream cache fd: %d", r->cache->file.fd);
1730 1730