commit | a0202f26c631d3f997cf700aa16243b0e1f3f470 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Jul 19 10:35:02 2011 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Jul 19 10:35:02 2011 +0000 |
tree | f89346e4419c6834140ea93ae228080e23d8b448 | |
parent | 99f2b9e063323cf75d1eb6459f0625a1e149584b [diff] |
fix r3756: release lock to allow other process to delete cache node patch by Maxim Dounin
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 03cd268..f44fe1d 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c
@@ -1099,7 +1099,8 @@ } if (fcn->deleting) { - continue; + wait = 1; + break; } p = ngx_hex_dump(key, (u_char *) &fcn->node.key,