Mercurial > hg > nginx
comparison src/core/ngx_open_file_cache.h @ 4493:47ece8818978
Disable symlinks: added the "from" parameter support to the open file cache.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 27 Feb 2012 16:46:57 +0000 |
parents | 7033faf6dc3c |
children |
comparison
equal
deleted
inserted
replaced
4492:4871a7dc12a9 | 4493:47ece8818978 |
---|---|
31 time_t valid; | 31 time_t valid; |
32 | 32 |
33 ngx_uint_t min_uses; | 33 ngx_uint_t min_uses; |
34 | 34 |
35 #if (NGX_HAVE_OPENAT) | 35 #if (NGX_HAVE_OPENAT) |
36 size_t disable_symlinks_from; | |
36 unsigned disable_symlinks:2; | 37 unsigned disable_symlinks:2; |
37 #endif | 38 #endif |
38 | 39 |
39 unsigned test_dir:1; | 40 unsigned test_dir:1; |
40 unsigned test_only:1; | 41 unsigned test_only:1; |
67 ngx_err_t err; | 68 ngx_err_t err; |
68 | 69 |
69 uint32_t uses; | 70 uint32_t uses; |
70 | 71 |
71 #if (NGX_HAVE_OPENAT) | 72 #if (NGX_HAVE_OPENAT) |
73 size_t disable_symlinks_from; | |
72 unsigned disable_symlinks:2; | 74 unsigned disable_symlinks:2; |
73 #endif | 75 #endif |
74 | 76 |
75 unsigned count:24; | 77 unsigned count:24; |
76 unsigned close:1; | 78 unsigned close:1; |