diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-08-10 15:57:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-10 15:57:42 +0000 |
commit | 703aab0b720f483efb2a907b14dedf6960ea1854 (patch) | |
tree | 841061230e3e368b2f048b70215b44b4239ba33a | |
parent | 632a1922fa744151a09eb7f666bb3b3de0f25876 (diff) | |
download | nginx-703aab0b720f483efb2a907b14dedf6960ea1854.tar.gz nginx-703aab0b720f483efb2a907b14dedf6960ea1854.zip |
unlock incompletely loaded cache
-rw-r--r-- | src/http/ngx_http_file_cache.c | 1 |
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; } |