aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_open_file_cache.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-27 09:55:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-27 09:55:53 +0000
commitf1cc457d7f562a7c8e7ff9ba28fc143bd175a7dc (patch)
treef3c4ae29d70a5dfd1f42dfe10174a7cbcbb9bdeb /src/core/ngx_open_file_cache.h
parent0e60e4f73a62bf168dcc0ece770dafa27de35207 (diff)
downloadnginx-f1cc457d7f562a7c8e7ff9ba28fc143bd175a7dc.tar.gz
nginx-f1cc457d7f562a7c8e7ff9ba28fc143bd175a7dc.zip
*) of.test_only to not open file if only stat() is enough
*) of.failed to return exact name of failed syscall
Diffstat (limited to 'src/core/ngx_open_file_cache.h')
-rw-r--r--src/core/ngx_open_file_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_open_file_cache.h b/src/core/ngx_open_file_cache.h
index a8d221b55..f059d6b9a 100644
--- a/src/core/ngx_open_file_cache.h
+++ b/src/core/ngx_open_file_cache.h
@@ -21,13 +21,16 @@ typedef struct {
time_t mtime;
off_t size;
off_t directio;
+
ngx_err_t err;
+ char *failed;
time_t valid;
ngx_uint_t min_uses;
unsigned test_dir:1;
+ unsigned test_only:1;
unsigned log:1;
unsigned errors:1;
unsigned events:1;