diff src/http/modules/ngx_http_proxy_module.c @ 750:e3df50b4a4fd

fix hash building on unknown 64-bit platform
author Igor Sysoev <igor@sysoev.ru>
date Fri, 06 Oct 2006 15:06:02 +0000
parents ceb5ef29b119
children bae59a740c40
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1823,7 +1823,7 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t
     hash.hash = &conf->upstream.hide_headers_hash;
     hash.key = ngx_hash_key_lc;
     hash.max_size = 512;
-    hash.bucket_size = ngx_cacheline_size;
+    hash.bucket_size = 64;
     hash.name = "proxy_hide_headers_hash";
     hash.pool = cf->pool;
     hash.temp_pool = NULL;