comparison src/http/ngx_http.c @ 2580:684ca3b0ae14

test wildcard tail hash existance
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Mar 2009 15:46:27 +0000
parents c352c419be85
children 1fb5e7e05a4e
comparison
equal deleted inserted replaced
2579:67fea87a6652 2580:684ca3b0ae14
1803 #endif 1803 #endif
1804 1804
1805 if (addr[i].hash.buckets == NULL 1805 if (addr[i].hash.buckets == NULL
1806 && (addr[i].wc_head == NULL 1806 && (addr[i].wc_head == NULL
1807 || addr[i].wc_head->hash.buckets == NULL) 1807 || addr[i].wc_head->hash.buckets == NULL)
1808 && (addr[i].wc_head == NULL 1808 && (addr[i].wc_tail == NULL
1809 || addr[i].wc_head->hash.buckets == NULL)) 1809 || addr[i].wc_tail->hash.buckets == NULL))
1810 { 1810 {
1811 continue; 1811 continue;
1812 } 1812 }
1813 1813
1814 vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); 1814 vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t));