更新gfwlist和cnip到20191204;修改域名匹配顺序为优先匹配自定义用代理的域名再匹配不用代理的域名;强制用代理域名加入ocsp.apple.com来解决某些情况导致app打开缓慢的问题
This commit is contained in:
@@ -40,4 +40,5 @@ wenzhixin.net.cn
|
||||
last.fm
|
||||
scdn.co
|
||||
spotify.com
|
||||
spotilocal.com
|
||||
spotilocal.com
|
||||
ocsp.apple.com
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -368,4 +368,5 @@ zhubajie.com
|
||||
zongheng.com
|
||||
githubusercontent.com
|
||||
sinaimg.cn
|
||||
icloud.com
|
||||
icloud.com
|
||||
apple.cn
|
||||
5771
gfwlist.txt
5771
gfwlist.txt
File diff suppressed because it is too large
Load Diff
@@ -95,13 +95,13 @@ function FindProxyForURL(url, host) {
|
||||
}
|
||||
|
||||
if (!ipRegExp.test(host)) {
|
||||
if (testDomain(host, directDomains, true)) {
|
||||
return direct
|
||||
}
|
||||
|
||||
if (testDomain(host, domainsUsingProxy)) {
|
||||
return proxy;
|
||||
}
|
||||
|
||||
if (testDomain(host, directDomains, true)) {
|
||||
return direct
|
||||
}
|
||||
strIp = dnsResolve(host);
|
||||
} else {
|
||||
strIp = host
|
||||
|
||||
Reference in New Issue
Block a user