Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.h @ 3325:42c16d8bddbe
regex named captures
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 12:19:02 +0000 |
parents | 8e76e636ae3b |
children | 4e15548b29d4 |
comparison
equal
deleted
inserted
replaced
3324:616da2ea901f | 3325:42c16d8bddbe |
---|---|
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 |