mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08:00
test wildcard tail hash existance
This commit is contained in:
parent
b03aa7fcc2
commit
fb3be73a38
@ -1805,8 +1805,8 @@ ngx_http_add_addrs(ngx_conf_t *cf, ngx_http_port_t *hport,
|
|||||||
if (addr[i].hash.buckets == NULL
|
if (addr[i].hash.buckets == NULL
|
||||||
&& (addr[i].wc_head == NULL
|
&& (addr[i].wc_head == NULL
|
||||||
|| addr[i].wc_head->hash.buckets == NULL)
|
|| addr[i].wc_head->hash.buckets == NULL)
|
||||||
&& (addr[i].wc_head == NULL
|
&& (addr[i].wc_tail == NULL
|
||||||
|| addr[i].wc_head->hash.buckets == NULL))
|
|| addr[i].wc_tail->hash.buckets == NULL))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user