diff src/core/ngx_open_file_cache.h @ 2756:09cab3f8d92e

*) of.test_only to not open file if only stat() is enough *) of.failed to return exact name of failed syscall
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Apr 2009 09:55:53 +0000
parents 732bf367dc08
children 975f0558aab3
line wrap: on
line diff
--- a/src/core/ngx_open_file_cache.h	Sun Apr 26 19:37:38 2009 +0000
+++ b/src/core/ngx_open_file_cache.h	Mon Apr 27 09:55:53 2009 +0000
@@ -21,13 +21,16 @@
     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;