comparison src/http/ngx_http_core_module.h @ 546:e19e5f542878 NGINX_0_8_25

nginx 0.8.25 *) Change: now no message is written in an error log if a variable is not found by $r->variable() method. *) Feature: the ngx_http_degradation_module. *) Feature: regular expression named captures. *) Feature: now URI part is not required a "proxy_pass" directive if variables are used. *) Feature: now the "msie_padding" directive works for Chrome too. *) Bugfix: a segmentation fault occurred in a worker process on low memory condition; the bug had appeared in 0.8.18. *) Bugfix: nginx sent gzipped responses to clients those do not support gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared in 0.8.16.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Nov 2009 00:00:00 +0300
parents 1dcf6adad484
children 2da4537168f8
comparison
equal deleted inserted replaced
545:91e4b06e1a01 546:e19e5f542878
124 ngx_hash_t headers_in_hash; 124 ngx_hash_t headers_in_hash;
125 125
126 ngx_hash_t variables_hash; 126 ngx_hash_t variables_hash;
127 127
128 ngx_array_t variables; /* ngx_http_variable_t */ 128 ngx_array_t variables; /* ngx_http_variable_t */
129 ngx_uint_t ncaptures;
129 130
130 ngx_uint_t server_names_hash_max_size; 131 ngx_uint_t server_names_hash_max_size;
131 ngx_uint_t server_names_hash_bucket_size; 132 ngx_uint_t server_names_hash_bucket_size;
132 133
133 ngx_uint_t variables_hash_max_size; 134 ngx_uint_t variables_hash_max_size;
236 } ngx_http_conf_addr_t; 237 } ngx_http_conf_addr_t;
237 238
238 239
239 struct ngx_http_server_name_s { 240 struct ngx_http_server_name_s {
240 #if (NGX_PCRE) 241 #if (NGX_PCRE)
241 ngx_regex_t *regex; 242 ngx_http_regex_t *regex;
242 #endif 243 #endif
243 ngx_http_core_srv_conf_t *server; /* virtual name server conf */ 244 ngx_http_core_srv_conf_t *server; /* virtual name server conf */
244 ngx_str_t name; 245 ngx_str_t name;
245 }; 246 };
246 247
265 266
266 struct ngx_http_core_loc_conf_s { 267 struct ngx_http_core_loc_conf_s {
267 ngx_str_t name; /* location name */ 268 ngx_str_t name; /* location name */
268 269
269 #if (NGX_PCRE) 270 #if (NGX_PCRE)
270 ngx_regex_t *regex; 271 ngx_http_regex_t *regex;
271
272 unsigned captures:1;
273 #endif 272 #endif
274 273
275 unsigned noname:1; /* "if () {}" block or limit_except */ 274 unsigned noname:1; /* "if () {}" block or limit_except */
276 unsigned named:1; 275 unsigned named:1;
277 276