From 305a9d83cfba0d0330bd12af4ca56943b10e958e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 26 Dec 2005 17:07:48 +0000 Subject: nginx-0.3.18-RELEASE import *) 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; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16. --- src/http/ngx_http_config.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/http/ngx_http_config.h') diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h index 476808584..84816ae27 100644 --- a/src/http/ngx_http_config.h +++ b/src/http/ngx_http_config.h @@ -72,25 +72,4 @@ typedef struct { cycle->conf_ctx[ngx_http_module.index])->main_conf[module.ctx_index] -#define NGX_HTTP_CONFIG_HASH 10007 - -#define NGX_HTTP_WILDCARD_HASH 1 - -typedef struct { - ngx_pool_t *pool; - ngx_pool_t *temp_pool; - - ngx_array_t keys; - ngx_array_t *keys_hash; - - ngx_array_t dns_wildcards; - ngx_array_t *dns_hash; -} ngx_http_hash_conf_t; - - -ngx_int_t ngx_http_config_add_hash(ngx_http_hash_conf_t *h, ngx_str_t *key, - void *value, ngx_uint_t flags); - - - #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */ -- cgit