diff src/http/ngx_http_core_module.c @ 5623:d0e75244a18a

Increased default value of variables_hash_max_size.
author Andrei Belov <defan@nginx.com>
date Tue, 25 Mar 2014 18:49:28 +0400
parents 68c6cc832c76
children 5a65b9d8bc2b
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3440,7 +3440,7 @@ ngx_http_core_init_main_conf(ngx_conf_t 
             ngx_align(cmcf->server_names_hash_bucket_size, ngx_cacheline_size);
 
 
-    ngx_conf_init_uint_value(cmcf->variables_hash_max_size, 512);
+    ngx_conf_init_uint_value(cmcf->variables_hash_max_size, 1024);
     ngx_conf_init_uint_value(cmcf->variables_hash_bucket_size, 64);
 
     cmcf->variables_hash_bucket_size =