mirror of
https://github.com/nginx/nginx.git
synced 2025-06-18 01:30:42 +08:00
zero fcn->updating after node allocation
This commit is contained in:
parent
2b74841a4f
commit
7268cc8c6e
@ -581,6 +581,7 @@ ngx_http_file_cache_exists(ngx_http_file_cache_t *cache, ngx_http_cache_t *c)
|
|||||||
|
|
||||||
fcn->uses = 1;
|
fcn->uses = 1;
|
||||||
fcn->count = 1;
|
fcn->count = 1;
|
||||||
|
fcn->updating = 0;
|
||||||
|
|
||||||
renew:
|
renew:
|
||||||
|
|
||||||
@ -1429,6 +1430,7 @@ ngx_http_file_cache_add(ngx_http_file_cache_t *cache, ngx_http_cache_t *c)
|
|||||||
fcn->valid_msec = c->valid_msec;
|
fcn->valid_msec = c->valid_msec;
|
||||||
fcn->error = 0;
|
fcn->error = 0;
|
||||||
fcn->exists = 1;
|
fcn->exists = 1;
|
||||||
|
fcn->updating = 0;
|
||||||
fcn->uniq = c->uniq;
|
fcn->uniq = c->uniq;
|
||||||
fcn->valid_sec = c->valid_sec;
|
fcn->valid_sec = c->valid_sec;
|
||||||
fcn->body_start = c->body_start;
|
fcn->body_start = c->body_start;
|
||||||
|
Loading…
Reference in New Issue
Block a user