| commit | b4bf5120755f9c248c42af1dd35ef0fa1dd82632 | [log] [tgz] |
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Mon May 16 20:37:38 2016 +0300 |
| committer | Maxim Dounin <mdounin@mdounin.ru> | Mon May 16 20:37:38 2016 +0300 |
| tree | 2711a8cb90292ac9efccbb651f9ddd6c4b02bd4f | |
| parent | 692ba44d1cbdc7ef259cd2399b660819471b2c49 [diff] |
Cache: fixed updating bypassed cached errors (ticket #827).
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 37cd377..38b695e 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c
@@ -1403,6 +1403,7 @@ ngx_shmtx_lock(&cache->shpool->mutex); c->node->count--; + c->node->error = 0; c->node->uniq = uniq; c->node->body_start = c->body_start;