Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_core_module.h @ 308:94e16de3c33f NGINX_0_5_24
nginx 0.5.24
*) Security: the "ssl_verify_client" directive did not work if request
was made using HTTP/0.9.
*) Bugfix: a part of response body might be passed uncompressed if gzip
was used; bug appeared in 0.5.23.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 06 Jun 2007 00:00:00 +0400 |
parents | cba14c1e2a4b |
children | 429900ca25ee |
comparison
equal
deleted
inserted
replaced
307:0bcb7f864b94 | 308:94e16de3c33f |
---|---|
115 * array of the ngx_http_core_loc_conf_t *, | 115 * array of the ngx_http_core_loc_conf_t *, |
116 * used in the ngx_http_core_find_location() and in the merge phase | 116 * used in the ngx_http_core_find_location() and in the merge phase |
117 */ | 117 */ |
118 ngx_array_t locations; | 118 ngx_array_t locations; |
119 | 119 |
120 unsigned regex_start:16; | |
121 unsigned wildcard:1; | |
122 | |
120 /* array of the ngx_http_listen_t, "listen" directive */ | 123 /* array of the ngx_http_listen_t, "listen" directive */ |
121 ngx_array_t listen; | 124 ngx_array_t listen; |
122 | 125 |
123 /* array of the ngx_http_server_name_t, "server_name" directive */ | 126 /* array of the ngx_http_server_name_t, "server_name" directive */ |
124 ngx_array_t server_names; | 127 ngx_array_t server_names; |
136 | 139 |
137 ngx_msec_t client_header_timeout; | 140 ngx_msec_t client_header_timeout; |
138 | 141 |
139 ngx_flag_t optimize_server_names; | 142 ngx_flag_t optimize_server_names; |
140 ngx_flag_t ignore_invalid_headers; | 143 ngx_flag_t ignore_invalid_headers; |
141 | |
142 ngx_uint_t wildcard; /* unsigned wildcard:1 */ | |
143 } ngx_http_core_srv_conf_t; | 144 } ngx_http_core_srv_conf_t; |
144 | 145 |
145 | 146 |
146 /* list of structures to find core_srv_conf quickly at run time */ | 147 /* list of structures to find core_srv_conf quickly at run time */ |
147 | 148 |
170 | 171 |
171 typedef struct { | 172 typedef struct { |
172 in_addr_t addr; | 173 in_addr_t addr; |
173 | 174 |
174 ngx_hash_t hash; | 175 ngx_hash_t hash; |
175 ngx_hash_wildcard_t *dns_wildcards; | 176 ngx_hash_wildcard_t *dns_wildcards; |
176 | 177 |
177 ngx_array_t names; /* array of ngx_http_server_name_t */ | 178 ngx_array_t names; /* array of ngx_http_server_name_t */ |
178 | 179 |
179 /* the default server configuration for this address:port */ | 180 /* the default server configuration for this address:port */ |
180 ngx_http_core_srv_conf_t *core_srv_conf; | 181 ngx_http_core_srv_conf_t *core_srv_conf; |
208 | 209 |
209 #if (NGX_PCRE) | 210 #if (NGX_PCRE) |
210 ngx_regex_t *regex; | 211 ngx_regex_t *regex; |
211 #endif | 212 #endif |
212 | 213 |
214 unsigned regex_start:16; | |
215 | |
213 unsigned noname:1; /* "if () {}" block */ | 216 unsigned noname:1; /* "if () {}" block */ |
214 | 217 |
215 unsigned exact_match:1; | 218 unsigned exact_match:1; |
216 unsigned noregex:1; | 219 unsigned noregex:1; |
217 | 220 |
218 unsigned auto_redirect:1; | 221 unsigned auto_redirect:1; |
219 unsigned alias:1; | 222 unsigned alias:1; |
220 | 223 |
221 /* array of inclusive ngx_http_core_loc_conf_t */ | 224 /* array of inclusive ngx_http_core_loc_conf_t */ |
222 ngx_array_t locations; | 225 ngx_array_t *locations; |
223 | 226 |
224 /* pointer to the modules' loc_conf */ | 227 /* pointer to the modules' loc_conf */ |
225 void **loc_conf ; | 228 void **loc_conf ; |
226 | 229 |
227 uint32_t limit_except; | 230 uint32_t limit_except; |