comparison 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
comparison
equal deleted inserted replaced
749:bca3607c947b 750:e3df50b4a4fd
1821 } 1821 }
1822 1822
1823 hash.hash = &conf->upstream.hide_headers_hash; 1823 hash.hash = &conf->upstream.hide_headers_hash;
1824 hash.key = ngx_hash_key_lc; 1824 hash.key = ngx_hash_key_lc;
1825 hash.max_size = 512; 1825 hash.max_size = 512;
1826 hash.bucket_size = ngx_cacheline_size; 1826 hash.bucket_size = 64;
1827 hash.name = "proxy_hide_headers_hash"; 1827 hash.name = "proxy_hide_headers_hash";
1828 hash.pool = cf->pool; 1828 hash.pool = cf->pool;
1829 hash.temp_pool = NULL; 1829 hash.temp_pool = NULL;
1830 1830
1831 if (ngx_hash_init(&hash, hide_headers.elts, hide_headers.nelts) != NGX_OK) { 1831 if (ngx_hash_init(&hash, hide_headers.elts, hide_headers.nelts) != NGX_OK) {