Closed
Bug 767506
Opened 12 years ago
Closed 8 years ago
Select proper proxy caps for non-SSL CONNECT
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jduell.mcbugs, Unassigned)
References
Details
(Whiteboard: [http-conn])
Attachments
(1 file, 1 obsolete file)
5.27 KB,
patch
|
jduell.mcbugs
:
review+
|
Details | Diff | Splinter Review |
Not sure how much difference this makes: AFAICT mProxyCapabilities/mCapabilities are generally set to the same values. Maybe Honza knows...
Attachment #635848 -
Flags: review?(mcmanus)
Attachment #635848 -
Flags: feedback?(honzab.moz)
Reporter | ||
Updated•12 years ago
|
Attachment #635848 -
Flags: feedback?(honzab.moz)
Comment 1•12 years ago
|
||
Comment on attachment 635848 [details] [diff] [review] v1: fix proxy capabilities logic for non-SSL CONNECT Review of attachment 635848 [details] [diff] [review]: ----------------------------------------------------------------- This makes sense to me, but I'd rather honza r? it
Attachment #635848 -
Flags: review?(mcmanus)
Attachment #635848 -
Flags: review?(honzab.moz)
Attachment #635848 -
Flags: feedback+
Updated•12 years ago
|
Whiteboard: [http-conn]
Updated•12 years ago
|
Whiteboard: [http-conn] → [http-conn]
Comment 2•12 years ago
|
||
Comment on attachment 635848 [details] [diff] [review] v1: fix proxy capabilities logic for non-SSL CONNECT Review of attachment 635848 [details] [diff] [review]: ----------------------------------------------------------------- This seems to be OK. r=honzab ::: netwerk/protocol/http/nsHttpHandler.cpp @@ +1434,5 @@ > + bool usingConnect = false; > + if (proxyInfo) { > + usingConnect = https; // SSL always uses CONNECT > + PRUint32 resolveFlags = 0; > + if (NS_SUCCEEDED(proxyInfo->GetResolveFlags(&resolveFlags)) && Maybe don't do this when usingConnect is already true? BTW, this effectively copies the code from nsHttpConnectionInfo ctor. Would be nice to have this decision only on one place. But up to you.
Attachment #635848 -
Flags: review?(honzab.moz) → review+
Reporter | ||
Comment 3•12 years ago
|
||
fixes Honza's nits.
Attachment #635848 -
Attachment is obsolete: true
Attachment #638549 -
Flags: review+
Reporter | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/38cfb0413e04
Comment 5•12 years ago
|
||
Unfortunately, this had to be backed out due to causing perma-orange in the websockets tests on all platforms. (Note that there are intermittent failures with the same signature, so be careful on Try when testing a new fix). https://hg.mozilla.org/integration/mozilla-inbound/rev/d7aa6473ce02 Example log: https://tbpl.mozilla.org/php/getParsedLog.php?id=13175732&tree=Mozilla-Inbound
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•