fix segfault introduced in r3007

This commit is contained in:
Igor Sysoev 2009-08-07 13:16:42 +00:00
parent ccefc4f0aa
commit 22fc3e656e

View File

@ -2883,7 +2883,7 @@ ngx_http_upstream_finalize_request(ngx_http_request_t *r,
#if (NGX_HTTP_CACHE)
if (u->cacheable) {
if (u->cacheable && r->cache) {
time_t valid;
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,