diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-07-19 10:35:02 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-07-19 10:35:02 +0000 |
commit | a0202f26c631d3f997cf700aa16243b0e1f3f470 (patch) | |
tree | f89346e4419c6834140ea93ae228080e23d8b448 /src/http/ngx_http_file_cache.c | |
parent | 99f2b9e063323cf75d1eb6459f0625a1e149584b (diff) | |
download | nginx-a0202f26c631d3f997cf700aa16243b0e1f3f470.tar.gz nginx-a0202f26c631d3f997cf700aa16243b0e1f3f470.zip |
fix r3756: release lock to allow other process to delete cache node
patch by Maxim Dounin
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 03cd268b2..f44fe1de1 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1099,7 +1099,8 @@ ngx_http_file_cache_expire(ngx_http_file_cache_t *cache) } if (fcn->deleting) { - continue; + wait = 1; + break; } p = ngx_hex_dump(key, (u_char *) &fcn->node.key, |