Closed Bug 298449 Opened 20 years ago Closed 20 years ago

First connection ignores automatic proxy configuration URL setting.

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 100022

People

(Reporter: asherman, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050620
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050620

My proxy preferences are "Automatic proxy configuration URL:" with
file:///c:/proxy.pac specified. The content of the file is:

function FindProxyForURL(url,host) {
    return "PROXY proxy.example.com:8080;"
}

where proxy.example.com:8080 is squid 2.5 proxy server.
The problem is when I start Mozilla and try to open any addres for the first
time in the session, e.g. http://www.mozilla.org either from URL bar or from a
bookmark, Mozilla tries to connect to there directly, showing Connecting to
http://www.mozilla.org ..., and stays like this until timeout or another
connection I make. The second connetcion to a site goes normally through the
proxy specified.


Reproducible: Always

Steps to Reproduce:
1. Create a file:///c:/proxy.pac containing
function FindProxyForURL(url,host) {
    return "PROXY proxy.example.com:8080;"
}
with a proxy server 
2. Specify "Automatic proxy configuration URL:" file:///c:/proxy.pac
3. Close mozilla
4. Start mozilla and try to open a page in the internet behind the proxy server
without direct connection available, It will try to coonect directly
6. Try another address, Mozilla will try to cennect through the proxy specified

Actual Results:  
Mozilla ignores automatic proxy configuration URL setting for the first
connection in a session

Expected Results:  
It should always connect through the proxy If specified.
Looks like a duplicate of Bug 100022. Duping ... Feel free to reopen if you
think this is not the same bug.

*** This bug has been marked as a duplicate of 100022 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.