Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
2755:a65976a205a5 | 2756:09cab3f8d92e |
---|---|
19 ngx_fd_t fd; | 19 ngx_fd_t fd; |
20 ngx_file_uniq_t uniq; | 20 ngx_file_uniq_t uniq; |
21 time_t mtime; | 21 time_t mtime; |
22 off_t size; | 22 off_t size; |
23 off_t directio; | 23 off_t directio; |
24 | |
24 ngx_err_t err; | 25 ngx_err_t err; |
26 char *failed; | |
25 | 27 |
26 time_t valid; | 28 time_t valid; |
27 | 29 |
28 ngx_uint_t min_uses; | 30 ngx_uint_t min_uses; |
29 | 31 |
30 unsigned test_dir:1; | 32 unsigned test_dir:1; |
33 unsigned test_only:1; | |
31 unsigned log:1; | 34 unsigned log:1; |
32 unsigned errors:1; | 35 unsigned errors:1; |
33 unsigned events:1; | 36 unsigned events:1; |
34 | 37 |
35 unsigned is_dir:1; | 38 unsigned is_dir:1; |