From f1cc457d7f562a7c8e7ff9ba28fc143bd175a7dc Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 27 Apr 2009 09:55:53 +0000 Subject: *) of.test_only to not open file if only stat() is enough *) of.failed to return exact name of failed syscall --- src/core/ngx_open_file_cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/ngx_open_file_cache.h') 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; -- cgit v1.2.3