Mercurial > hg > nginx-tests
comparison http_server_name.t @ 210:a5f810eb87a2
Tests: explicitly set server names hash bucket size to 64.
Names used don't fit into 32 bytes buckets, and as a result
http_server_name.t fails on CPUs with 32 bytes cachelines.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 23 Mar 2012 14:57:49 +0400 |
parents | cfb8147f19a7 |
children | f9325406df0b |
comparison
equal
deleted
inserted
replaced
209:5137f27935b4 | 210:a5f810eb87a2 |
---|---|
31 events { | 31 events { |
32 } | 32 } |
33 | 33 |
34 http { | 34 http { |
35 %%TEST_GLOBALS_HTTP%% | 35 %%TEST_GLOBALS_HTTP%% |
36 | |
37 server_names_hash_bucket_size 64; | |
36 | 38 |
37 server { | 39 server { |
38 listen 127.0.0.1:8080; | 40 listen 127.0.0.1:8080; |
39 server_name localhost; | 41 server_name localhost; |
40 | 42 |