Chromium Code Reviews
DescriptionPoll PAC scripts for content changes.
An exponential poll delay is used which doubles the delay after each attempt (for instance polls might occur at 4 seconds, then 8 seconds, then 16 seconds, up to a maximum of 2 minutes).
This same mechanism also applies to the resolution of "auto-detect" settings.
The intent of this change is to make it possible to
(1) Notice server-side changes made to the PAC scripts
(2) Recover from spurious network errors when initially downloading PAC scripts.
BUG=90581
TEST=Configure Chrome to use a PAC script which fails to load (i.e. a non-existent file:// url, or remap the host's DNS record). Start Chrome and verify using about:net-internals that it has failed to fetch the PAC script and has fallen back to DIRECT settings. Fix the PAC URL to work and wait for chrome to notice the change and reconfigure itself (will take a maximum of 2 minutes).
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116462
Patch Set 1 #
Total comments: 34
Patch Set 2 : address wtc comments #
Total comments: 5
Patch Set 3 : address second batch of comments #Patch Set 4 : fix dcheck reached on bot #
Messages
Total messages: 13 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||