diff src/http/ngx_http.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 7e24168b0853
children bae59a740c40
line wrap: on
line diff
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -365,7 +365,7 @@ ngx_http_block(ngx_conf_t *cf, ngx_comma
     hash.hash = &cmcf->headers_in_hash;
     hash.key = ngx_hash_key_lc;
     hash.max_size = 512;
-    hash.bucket_size = ngx_cacheline_size;
+    hash.bucket_size = 64;
     hash.name = "headers_in_hash";
     hash.pool = cf->pool;
     hash.temp_pool = NULL;