comparison src/http/ngx_http_core_module.h @ 4494:13e09cf11d4e

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.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 27 Feb 2012 16:51:28 +0000
parents 7033faf6dc3c
children b4379a91f9b5
comparison
equal deleted inserted replaced
4493:47ece8818978 4494:13e09cf11d4e
505 (ngx_http_request_t *r, ngx_chain_t *chain); 505 (ngx_http_request_t *r, ngx_chain_t *chain);
506 506
507 507
508 ngx_int_t ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *chain); 508 ngx_int_t ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *chain);
509 ngx_int_t ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *chain); 509 ngx_int_t ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *chain);
510
511
512 ngx_int_t ngx_http_set_disable_symlinks(ngx_http_request_t *r,
513 ngx_http_core_loc_conf_t *clcf, ngx_str_t *path, ngx_open_file_info_t *of);
510 514
511 515
512 extern ngx_module_t ngx_http_core_module; 516 extern ngx_module_t ngx_http_core_module;
513 517
514 extern ngx_uint_t ngx_http_max_module; 518 extern ngx_uint_t ngx_http_max_module;