Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_core_module.h @ 487: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 |
comparison
equal
deleted
inserted
replaced
486:ba2ea8c4d60f | 487:f2c6a7373274 |
---|---|
151 ngx_array_t server_names; | 151 ngx_array_t server_names; |
152 | 152 |
153 /* server ctx */ | 153 /* server ctx */ |
154 ngx_http_conf_ctx_t *ctx; | 154 ngx_http_conf_ctx_t *ctx; |
155 | 155 |
156 ngx_http_virtual_names_t *virtual_names; | |
157 | |
158 ngx_str_t server_name; | 156 ngx_str_t server_name; |
159 | 157 |
160 size_t connection_pool_size; | 158 size_t connection_pool_size; |
161 size_t request_pool_size; | 159 size_t request_pool_size; |
162 size_t client_header_buffer_size; | 160 size_t client_header_buffer_size; |
177 | 175 |
178 | 176 |
179 typedef struct { | 177 typedef struct { |
180 /* the default server configuration for this address:port */ | 178 /* the default server configuration for this address:port */ |
181 ngx_http_core_srv_conf_t *core_srv_conf; | 179 ngx_http_core_srv_conf_t *core_srv_conf; |
180 | |
181 ngx_http_virtual_names_t *virtual_names; | |
182 | 182 |
183 #if (NGX_HTTP_SSL) | 183 #if (NGX_HTTP_SSL) |
184 ngx_uint_t ssl; /* unsigned ssl:1; */ | 184 ngx_uint_t ssl; /* unsigned ssl:1; */ |
185 #endif | 185 #endif |
186 } ngx_http_addr_conf_t; | 186 } ngx_http_addr_conf_t; |
265 | 265 |
266 typedef struct { | 266 typedef struct { |
267 ngx_array_t *lengths; | 267 ngx_array_t *lengths; |
268 ngx_array_t *values; | 268 ngx_array_t *values; |
269 ngx_str_t name; | 269 ngx_str_t name; |
270 ngx_uint_t test_dir; /* unsigned test_dir:1; */ | 270 |
271 unsigned code:10; | |
272 unsigned test_dir:1; | |
271 } ngx_http_try_file_t; | 273 } ngx_http_try_file_t; |
272 | 274 |
273 | 275 |
274 struct ngx_http_core_loc_conf_s { | 276 struct ngx_http_core_loc_conf_s { |
275 ngx_str_t name; /* location name */ | 277 ngx_str_t name; /* location name */ |