summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-02-27 16:51:28 +0000
committerValentin Bartenev <vbart@nginx.com>2012-02-27 16:51:28 +0000
commit0e05ca0404b6ef99fd809c6a1c362c6ef923cca6 (patch)
tree4a302c720b6fc8aa510fda227a6e6feb0e82ee92 /src/http/ngx_http_core_module.h
parent346791187f358f852c2434f29a86754e7ab10f5b (diff)
downloadnginx-0e05ca0404b6ef99fd809c6a1c362c6ef923cca6.tar.gz
nginx-0e05ca0404b6ef99fd809c6a1c362c6ef923cca6.tar.bz2
Disable symlinks: initialization of the "disable_symlinks" field in
ngx_open_file_info_t moved to a separate function. This is preparation for the "from=" parameter implementation of the "disable_symlinks" directive.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 3d6408a1e..96b20ec07 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -509,6 +509,10 @@ ngx_int_t ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *chain);
ngx_int_t ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *chain);
+ngx_int_t ngx_http_set_disable_symlinks(ngx_http_request_t *r,
+ ngx_http_core_loc_conf_t *clcf, ngx_str_t *path, ngx_open_file_info_t *of);
+
+
extern ngx_module_t ngx_http_core_module;
extern ngx_uint_t ngx_http_max_module;