fix r3756: release lock to allow other process to delete cache node

patch by Maxim Dounin
This commit is contained in:
Igor Sysoev 2011-07-19 10:35:02 +00:00
parent 99f2b9e063
commit a0202f26c6

View File

@ -1099,7 +1099,8 @@ ngx_http_file_cache_expire(ngx_http_file_cache_t *cache)
} }
if (fcn->deleting) { if (fcn->deleting) {
continue; wait = 1;
break;
} }
p = ngx_hex_dump(key, (u_char *) &fcn->node.key, p = ngx_hex_dump(key, (u_char *) &fcn->node.key,