diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-05-16 20:37:38 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-05-16 20:37:38 +0300 |
commit | bf838dc9dfca4e80b883c2e659c65f90fc1526a3 (patch) | |
tree | 2711a8cb90292ac9efccbb651f9ddd6c4b02bd4f /src | |
parent | 099d74cf3d62a092e51ef7dbba9dace68aca7209 (diff) | |
download | nginx-bf838dc9dfca4e80b883c2e659c65f90fc1526a3.tar.gz nginx-bf838dc9dfca4e80b883c2e659c65f90fc1526a3.zip |
Cache: fixed updating bypassed cached errors (ticket #827).
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 1 |
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; |