comparison src/http/ngx_http_request.h @ 142:84910468f6de NGINX_0_3_18

nginx 0.3.18 *) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; bug appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; bug appeared in 0.3.16.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 Dec 2005 00:00:00 +0300
parents 3656228c0b56
children e1c6ac408b68
comparison
equal deleted inserted replaced
141:249e67502bf3 142:84910468f6de
248 248
249 ngx_uint_t pipeline; /* unsigned pipeline:1; */ 249 ngx_uint_t pipeline; /* unsigned pipeline:1; */
250 } ngx_http_connection_t; 250 } ngx_http_connection_t;
251 251
252 252
253 typedef struct {
254 ngx_hash_t hash;
255 ngx_hash_wildcard_t *dns_wildcards;
256 } ngx_http_virtual_names_t;
257
258
253 typedef void (*ngx_http_cleanup_pt)(void *data); 259 typedef void (*ngx_http_cleanup_pt)(void *data);
254 260
255 typedef struct ngx_http_cleanup_s ngx_http_cleanup_t; 261 typedef struct ngx_http_cleanup_s ngx_http_cleanup_t;
256 262
257 struct ngx_http_cleanup_s { 263 struct ngx_http_cleanup_s {
258 ngx_http_cleanup_pt handler; 264 ngx_http_cleanup_pt handler;
259 void *data; 265 void *data;
260 ngx_http_cleanup_t *next; 266 ngx_http_cleanup_t *next;
261 }; 267 };
262 268
263 269
264 typedef struct ngx_http_postponed_request_s ngx_http_postponed_request_t; 270 typedef struct ngx_http_postponed_request_s ngx_http_postponed_request_t;
265 271
323 329
324 uint32_t in_addr; 330 uint32_t in_addr;
325 ngx_uint_t port; 331 ngx_uint_t port;
326 ngx_str_t *port_text; /* ":80" */ 332 ngx_str_t *port_text; /* ":80" */
327 ngx_str_t server_name; 333 ngx_str_t server_name;
328 ngx_http_in_addr_t *virtual_names; 334 ngx_http_virtual_names_t *virtual_names;
329 335
330 ngx_uint_t phase; 336 ngx_uint_t phase;
331 ngx_int_t phase_handler; 337 ngx_int_t phase_handler;
332 ngx_http_handler_pt content_handler; 338 ngx_http_handler_pt content_handler;
333 ngx_uint_t access_code; 339 ngx_uint_t access_code;