comparison src/core/ngx_file.c @ 3970:2d05952a324d

elimination of reading cache files by cache loader
author Igor Sysoev <igor@sysoev.ru>
date Sun, 24 Jul 2011 19:46:53 +0000
parents dd1570b6f237
children d620f497c50f
comparison
equal deleted inserted replaced
3969:3ea15c6b16da 3970:2d05952a324d
924 924
925 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0, 925 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0,
926 "tree file \"%s\"", file.data); 926 "tree file \"%s\"", file.data);
927 927
928 ctx->size = ngx_de_size(&dir); 928 ctx->size = ngx_de_size(&dir);
929 ctx->fs_size = ngx_de_fs_size(&dir);
929 ctx->access = ngx_de_access(&dir); 930 ctx->access = ngx_de_access(&dir);
930 ctx->mtime = ngx_de_mtime(&dir); 931 ctx->mtime = ngx_de_mtime(&dir);
931 932
932 if (ctx->file_handler(ctx, &file) == NGX_ABORT) { 933 if (ctx->file_handler(ctx, &file) == NGX_ABORT) {
933 goto failed; 934 goto failed;