From: Igor Sysoev Date: Mon, 10 Aug 2009 15:57:42 +0000 (+0000) Subject: unlock incompletely loaded cache X-Git-Tag: release-0.8.9~8 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=703aab0b720f483efb2a907b14dedf6960ea1854;p=nginx.git unlock incompletely loaded cache --- diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 208752bce..27ac441fd 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1103,6 +1103,7 @@ ngx_http_file_cache_loader(void *data) cache->files = 0; if (ngx_walk_tree(&tree, &cache->path->name) == NGX_ABORT) { + cache->sh->loading = 0; return; }