Mercurial > hg > nginx-vendor-current
diff src/http/ngx_http_core_module.h @ 478:f2c6a7373274 NGINX_0_7_51
nginx 0.7.51
*) Feature: the "try_files" directive supports a response code in the
fallback parameter.
*) Feature: now any response code can be used in the "return" directive.
*) Bugfix: the "error_page" directive made an external redirect without
query string; the bug had appeared in 0.7.44.
*) Bugfix: if servers listened on several defined explicitly addresses,
then virtual servers might not work; the bug had appeared in 0.7.39.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sun, 12 Apr 2009 00:00:00 +0400 |
parents | c8cfb6c462ef |
children | 549994537f15 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -153,8 +153,6 @@ typedef struct { /* server ctx */ ngx_http_conf_ctx_t *ctx; - ngx_http_virtual_names_t *virtual_names; - ngx_str_t server_name; size_t connection_pool_size; @@ -180,6 +178,8 @@ typedef struct { /* the default server configuration for this address:port */ ngx_http_core_srv_conf_t *core_srv_conf; + ngx_http_virtual_names_t *virtual_names; + #if (NGX_HTTP_SSL) ngx_uint_t ssl; /* unsigned ssl:1; */ #endif @@ -267,7 +267,9 @@ typedef struct { ngx_array_t *lengths; ngx_array_t *values; ngx_str_t name; - ngx_uint_t test_dir; /* unsigned test_dir:1; */ + + unsigned code:10; + unsigned test_dir:1; } ngx_http_try_file_t;