commit | 7268cc8c6e5b1f5b463583018332fa18655b24c0 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Wed Aug 04 13:34:23 2010 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Wed Aug 04 13:34:23 2010 +0000 |
tree | 60ec189e5fd7560329717395f5f0f206d4974e42 | |
parent | 2b74841a4f8301e7b3d3af91d220240a3c6e5d34 [diff] |
zero fcn->updating after node allocation
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index c9ecded..d14a7c5 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c
@@ -581,6 +581,7 @@ fcn->uses = 1; fcn->count = 1; + fcn->updating = 0; renew: @@ -1429,6 +1430,7 @@ fcn->valid_msec = c->valid_msec; fcn->error = 0; fcn->exists = 1; + fcn->updating = 0; fcn->uniq = c->uniq; fcn->valid_sec = c->valid_sec; fcn->body_start = c->body_start;