Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.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 |
---|---|
2939 } | 2939 } |
2940 | 2940 |
2941 hash.hash = &umcf->headers_in_hash; | 2941 hash.hash = &umcf->headers_in_hash; |
2942 hash.key = ngx_hash_key_lc; | 2942 hash.key = ngx_hash_key_lc; |
2943 hash.max_size = 512; | 2943 hash.max_size = 512; |
2944 hash.bucket_size = ngx_cacheline_size; | 2944 hash.bucket_size = 64; |
2945 hash.name = "upstream_headers_in_hash"; | 2945 hash.name = "upstream_headers_in_hash"; |
2946 hash.pool = cf->pool; | 2946 hash.pool = cf->pool; |
2947 hash.temp_pool = NULL; | 2947 hash.temp_pool = NULL; |
2948 | 2948 |
2949 if (ngx_hash_init(&hash, headers_in.elts, headers_in.nelts) != NGX_OK) { | 2949 if (ngx_hash_init(&hash, headers_in.elts, headers_in.nelts) != NGX_OK) { |