mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
merge r3825, r3826:
*) test wildcard tail hash existance for IPv6 addresses, the same fix for IPv4 addresses has been made in r2581 *) always run regex in server_name to get captures for IPv6 addresses, the same fix for IPv4 addresses has been made in r2584
This commit is contained in:
parent
53a3988942
commit
1db960a374
@ -1870,8 +1870,12 @@ ngx_http_add_addrs6(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)
|
||||||
|
#if (NGX_PCRE)
|
||||||
|
&& addr[i].nregex == 0
|
||||||
|
#endif
|
||||||
|
)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user