diff src/http/ngx_http_config.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 55a211e5eeb7
children 4cd3e70c4d60
line wrap: on
line diff
--- 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_ */