comparison 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
comparison
equal deleted inserted replaced
749:bca3607c947b 750:e3df50b4a4fd
363 } 363 }
364 364
365 hash.hash = &cmcf->headers_in_hash; 365 hash.hash = &cmcf->headers_in_hash;
366 hash.key = ngx_hash_key_lc; 366 hash.key = ngx_hash_key_lc;
367 hash.max_size = 512; 367 hash.max_size = 512;
368 hash.bucket_size = ngx_cacheline_size; 368 hash.bucket_size = 64;
369 hash.name = "headers_in_hash"; 369 hash.name = "headers_in_hash";
370 hash.pool = cf->pool; 370 hash.pool = cf->pool;
371 hash.temp_pool = NULL; 371 hash.temp_pool = NULL;
372 372
373 if (ngx_hash_init(&hash, headers_in.elts, headers_in.nelts) != NGX_OK) { 373 if (ngx_hash_init(&hash, headers_in.elts, headers_in.nelts) != NGX_OK) {