Closed
Bug 1392272
Opened 6 years ago
Closed 1 year ago
[Win] Optimize the way we resolve proxy settings
Categories
(Core :: Networking: HTTP, enhancement, P3)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: mayhemer, Assigned: kershaw)
References
(Blocks 1 open bug)
Details
(Keywords: perf, Whiteboard: [necko-next][proxy])
Attachments
(2 files)
With the default prefs we do async proxy resolution for every channel. Most users these days have Windows set to "no proxy" in the Windows internet settings. We should detect changes by observing for either registry changes or doing some other magic and bypass proxy resolution completely when no proxy has been specified. I can see 20+ ms (on a fast machine, in an opt build!) on EVERY channel. This also includes main thread dispatch. Not sure we could have this for 57, but would definitely be nice. Loosely blocking CDP. https://stackoverflow.com/questions/6192563/detect-windows-ie-proxy-settings-changes
![]() |
Reporter | |
Comment 1•6 years ago
|
||
One simple solution (some probability of regression prove..) could be to refresh the registry settings only when loading a top level document and not for sub-resources.
Updated•6 years ago
|
Whiteboard: [necko-next] → [necko-next][proxy]
Comment 2•6 years ago
|
||
Assign to myself, but maybe fix later, so keep necko-next.
Assignee: nobody → xeonchen
Comment 3•6 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P3 → P2
Updated•5 years ago
|
Assignee: xeonchen → nobody
Updated•4 years ago
|
Priority: P2 → P3
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → kershaw
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D127724
Assignee | ||
Comment 7•2 years ago
|
||
Add leave-open
, since linux and android parts are not completed.
Keywords: leave-open
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c1c60a1f6ef P1: [windows] Monitor system proxy changes, r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/931db25d14fd P2: [osx] Monitor system proxy changes, r=necko-reviewers,dragana
Comment 9•2 years ago
|
||
bugherder |
Updated•1 year ago
|
status-firefox57:
affected → ---
status-firefox96:
--- → fixed
Updated•1 year ago
|
Severity: -- → N/A
Comment 10•1 year ago
|
||
I think it would be better to close this bug since patches landed in Firefox 96 and open new bugs for Linux and Android.
Flags: needinfo?(kershaw)
Assignee | ||
Comment 11•1 year ago
|
||
(In reply to Mathew Hodson from comment #10)
I think it would be better to close this bug since patches landed in Firefox 96 and open new bugs for Linux and Android.
Note that the patches in this bug was reverted because of bug 1749501.
I'll file a new bug to track the necessary work.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(kershaw)
Keywords: leave-open
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•