summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/http/ngx_http_file_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 37cd377d0..38b695ed1 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -1403,6 +1403,7 @@ ngx_http_file_cache_update(ngx_http_request_t *r, ngx_temp_file_t *tf)
ngx_shmtx_lock(&cache->shpool->mutex);
c->node->count--;
+ c->node->error = 0;
c->node->uniq = uniq;
c->node->body_start = c->body_start;