mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 03:51:14 +00:00
Cache: fixed updating bypassed cached errors (ticket #827).
This commit is contained in:
parent
099d74cf3d
commit
bf838dc9df
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue