aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-10 15:57:42 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-10 15:57:42 +0000
commit703aab0b720f483efb2a907b14dedf6960ea1854 (patch)
tree841061230e3e368b2f048b70215b44b4239ba33a
parent632a1922fa744151a09eb7f666bb3b3de0f25876 (diff)
downloadnginx-703aab0b720f483efb2a907b14dedf6960ea1854.tar.gz
nginx-703aab0b720f483efb2a907b14dedf6960ea1854.zip
unlock incompletely loaded cache
-rw-r--r--src/http/ngx_http_file_cache.c1
1 files changed, 1 insertions, 0 deletions
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;
}