Closed
Bug 167491
Opened 22 years ago
Closed 22 years ago
PAC: *always* uses the first proxy returned as returned by FindProxyForURL(url, host)
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: rikv, Assigned: asa)
Details
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826
My proxy.pac:
---
function FindProxyForURL(url, host)
{
return "PROXY 10.64.10.10:3128; PROXY 10.64.10.20:3128";
}
---
It should use the first proxy, unless it is known to have failed in the last
30 minutes. If it was known to have failed in the last 30 minutes it should try
the second or third in the lsit of proxies returned by FindProxyForUrl().
I tried IE5.5, netscape 4.61 & Opera 6.0 and they all do as described here:
http://developer.netscape.com/docs/manuals/proxy/adminux/autoconf.htm
This features makes that the browser (should) failover to another proxy if the
primary is down (or go direct).
Reproducible: Always
Steps to Reproduce:
1. Use proxy.pac:
function FindProxyForURL(url, host)
{
return "PROXY 10.64.10.10:3128; PROXY 10.64.10.20:3128";
}
2. browse & confirm it uses the 1st proxy
3. bring 1st proxy down
4. Try to browse, it will try to connect to the 1st proxy and popup a message like:
"can't connect to www.bla.com"
5. Try again, it will connect to the 1st proxy.
Actual Results:
See above
Expected Results:
In step 4 or 5 it should try to use the 2nd proxy returned by the proxy.pac
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 84798 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Summary: proxy.pac : Mozilla *always* uses the first proxy returned as returned by FindProxyForURL(url, host) → proxy.pac : Mozilla *always* uses the first proxy returned as returned by FindProxyForURL(url, host)
VERIFIED/dupe.
Status: RESOLVED → VERIFIED
Component: Browser-General → Networking
QA Contact: asa → pacqa
Summary: proxy.pac : Mozilla *always* uses the first proxy returned as returned by FindProxyForURL(url, host) → PAC : Mozilla *always* uses the first proxy returned as returned by FindProxyForURL(url, host)
Summary: PAC : Mozilla *always* uses the first proxy returned as returned by FindProxyForURL(url, host) → PAC: *always* uses the first proxy returned as returned by FindProxyForURL(url, host)
Summary: PAC: *always* uses the first proxy returned as returned by FindProxyForURL(url, host) → PAC: *always* uses the first proxy returned as returned by FindProxyForURL(url, host)
You need to log in
before you can comment on or make changes to this bug.
Description
•