Mercurial > hg > nginx
comparison src/http/ngx_http.c @ 3824:4ee02b872591
test wildcard tail hash existance for IPv6 addresses,
the same fix for IPv4 addresses has been made in r2581
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 12 Dec 2010 21:10:59 +0000 |
parents | b1add8bfad83 |
children | 3770119af0b5 |
comparison
equal
deleted
inserted
replaced
3823:b1add8bfad83 | 3824:4ee02b872591 |
---|---|
1868 #endif | 1868 #endif |
1869 | 1869 |
1870 if (addr[i].hash.buckets == NULL | 1870 if (addr[i].hash.buckets == NULL |
1871 && (addr[i].wc_head == NULL | 1871 && (addr[i].wc_head == NULL |
1872 || addr[i].wc_head->hash.buckets == NULL) | 1872 || addr[i].wc_head->hash.buckets == NULL) |
1873 && (addr[i].wc_head == NULL | 1873 && (addr[i].wc_tail == NULL |
1874 || addr[i].wc_head->hash.buckets == NULL)) | 1874 || addr[i].wc_tail->hash.buckets == NULL)) |
1875 { | 1875 { |
1876 continue; | 1876 continue; |
1877 } | 1877 } |
1878 | 1878 |
1879 vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); | 1879 vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); |