forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make DNS notifications to proxy code much less expensive
Instead of completely resetting fetched proxy configuration and blocking all URL requests until after a 2 second delay and a new config is retrieved, just signal the poller that it is a good time to recheck proxy autoconfiguration. This high expense of DNS notifications was especially noticeable as DoH usage became more common because DoH causes additional DNS notifications on the first DoH server becoming available (often 5 seconds after Chrome startup when the DoH activation probes wake up) or on the last DoH server becoming unavailable (after multiple consecutive errors with the server). Bug: 1176970 Change-Id: I6773818c619ad7f4de4397c9c0abebac1d52de08 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2703095 Commit-Queue: Eric Orth <ericorth@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#856985}
- Loading branch information
Eric Orth
authored and
Chromium LUCI CQ
committed
Feb 24, 2021
1 parent
0d5c475
commit 94251c5
Showing
2 changed files
with
196 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters