diff options
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 530b69ce8..f79dc2af2 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1485,12 +1485,16 @@ void ngx_http_close_request(ngx_http_request_t *r, int error) continue; } +#if (NGX_HTTP_CACHE) + if (cleanup[i].cache) { ngx_http_cache_unlock(cleanup[i].data.cache.hash, cleanup[i].data.cache.cache, log); continue; } +#endif + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http cleanup fd: %d", cleanup[i].data.file.fd); |