blob: 55aef52e6f13b57632337878a79a62662b4782ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
var g_ips = [
dnsResolve('host1'),
dnsResolve('host2')
];
alert('Watsup');
alert('Watsup2');
function FindProxyForURL(url, host) {
// Note that host1 and host2 should not resolve using the same cache as was
// used for g_ips!
var ips = g_ips.concat([dnsResolve('host1'), dnsResolve('host2')]);
return 'PROXY ' + ips.join('-') + ':99';
}
|