Closed
Bug 767159
Opened 13 years ago
Closed 13 years ago
remove synchronous DNS resolution in nsSOCKSIOLayer.cpp
Categories
(Core :: Networking: DNS, defect)
Core
Networking: DNS
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jaas, Assigned: mcmanus)
References
Details
(Whiteboard: [Snappy:P1])
Attachments
(1 file)
|
8.83 KB,
patch
|
Biesinger
:
review+
|
Details | Diff | Splinter Review |
netwerk/socket/nsSOCKSIOLayer.cpp:
219 PRStatus
220 nsSOCKSSocketInfo::ConnectToProxy(PRFileDesc *fd)
[...]
234 rv = dns->Resolve(mProxyHost, 0, getter_AddRefs(mDnsRec));
We probably shouldn't ever make synchronous DNS resolution calls, and we definitely shouldn't do it on the main thread. Removing this stuff is a high priority.
| Assignee | ||
Comment 1•13 years ago
|
||
while I do some more testing lets call this WIP
| Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 636862 [details] [diff] [review]
patch 0
confirmed behavior before/after patch matches for:
* normal dns based proxy
* ip based proxy
* dns resolution that takes a long time
* invalid host name
* valid hostname, but invalid proxy
Christian, do you have time to look at this?
Attachment #636862 -
Flags: review?(cbiesinger)
Comment 3•13 years ago
|
||
Comment on attachment 636862 [details] [diff] [review]
patch 0
nice :)
Attachment #636862 -
Flags: review?(cbiesinger) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Depends on: CVE-2013-0764
You need to log in
before you can comment on or make changes to this bug.
Description
•