Closed Bug 310904 Opened 19 years ago Closed 16 years ago

Proxy setting Port '0' for SSL connections is ignored

Categories

(Firefox :: Settings UI, defect)

1.5.0.x Branch
PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: tim-mills, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

Our local proxy server doesnt support secure connections. There doesnt appear a
way to use a proxy on port 80 without secure 421 ports.

Selecting '0' for the port in preferences next to SSL does nothing.

Reproducible: Always

Steps to Reproduce:
1. Set proxy for HTTP to local proxy
2. browse a secure site (https)
3. 
Actual Results:  
Page will time out if local proxy server doesnt support SSL


Expected Results:  
bypassed the proxy and gone directly to the secure page.
Remove the name of the proxyserver, that should work
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

With empty proxyserver and port number 0, secure connections do not work.
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/14
Version: unspecified → 1.5.0.x Branch
(In reply to comment #1)
> Remove the name of the proxyserver, that should work

Jo, what report describes is not a bug, right?
(reporter doesn't respond - email ady might be dead)

Summary: Proxy setting '0' for SSL connections is ignored → Proxy setting Port '0' for SSL connections is ignored
Removing the name of the proxyserver should work (the reporter assumed that setting the port to 0 would also disable it). WORKSFORME ? Or do we really allow this configuration, where HTTP connections are proxied, but HTTPS connections are bypassing the proxyserver ? Anyway, I've never heard a similar request.
The expected behavior is: If the port is "0", then the proxy configuration for that line is invalid (and not used).

I think the reporter is saying this is not working, but I need to know all the details to be sure. I just looked at the code while working on an article for SMO, and here it (in case I misunderstood it)

1303     else if (!mHTTPSProxyHost.IsEmpty() && mHTTPSProxyPort > 0 &&
1304              info.scheme.EqualsLiteral("https")) {
1305         host = &mHTTPSProxyHost;
1306         type = kProxyType_HTTP;
1307         port = mHTTPSProxyPort;
1308     }
@Reporter, we have not heard back from you in a while, so I am closing this bug as INCOMPLETE. You can reopen this bug if more information becomes available. Some helpful information you can provide us is found at http://new.quality.mozilla.org/bug-writing-guidelines.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Whiteboard: CLOSEME 07/14
You need to log in before you can comment on or make changes to this bug.