mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
fix segfault introduced in r3007
This commit is contained in:
parent
ccefc4f0aa
commit
22fc3e656e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user