mirror of
https://github.com/nginx/nginx.git
synced 2025-01-24 15:16:39 -06:00
fix r3707: cache node should be freed be a response is not cached
This commit is contained in:
parent
3cf3100977
commit
6af21b7cda
@ -1722,7 +1722,7 @@ ngx_http_upstream_intercept_errors(ngx_http_request_t *r,
|
||||
|
||||
#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,
|
||||
|
Loading…
Reference in New Issue
Block a user