mirror of
https://github.com/nginx/nginx.git
synced 2025-06-06 00:42:40 +08:00
Cache: fixed updating bypassed cached errors (ticket #827).
This commit is contained in:
parent
099d74cf3d
commit
bf838dc9df
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user