Skip to content

Commit

Permalink
Cache: fixed updating bypassed cached errors (ticket #827).
Browse files Browse the repository at this point in the history
  • Loading branch information
mdounin committed May 16, 2016
1 parent 099d74c commit bf838dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http/ngx_http_file_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bf838dc

Please sign in to comment.