aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_file_cache.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 0cb81d934..efe0da6b0 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -356,10 +356,7 @@ ngx_http_file_cache_exists(ngx_http_request_t *r, ngx_http_file_cache_t *cache)
if (fcn->uses >= r->cache->min_uses) {
r->cache->exists = fcn->exists;
-
- if (fcn->body_start) {
- r->cache->body_start = fcn->body_start;
- }
+ r->cache->body_start = fcn->body_start;
rc = NGX_OK;