aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-06 15:06:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-06 15:06:02 +0000
commit627b8aa3bd8ec4ebff1d08ade3a6d17de8fa7bf1 (patch)
tree3c509b0d94ffd4004e569466ee019d9e4c786e8e /src/http/ngx_http.c
parentc537f0cbe77a45183680d9735ae5532a02c9d2ab (diff)
downloadnginx-627b8aa3bd8ec4ebff1d08ade3a6d17de8fa7bf1.tar.gz
nginx-627b8aa3bd8ec4ebff1d08ade3a6d17de8fa7bf1.zip
fix hash building on unknown 64-bit platform
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 395282d85..1c930ed2e 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -365,7 +365,7 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
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;