diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 05:47:56 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 05:47:56 +0000 |
commit | 1f6fdd45b31443447f6cdc7b6454f751fec9296d (patch) | |
tree | 751ac9d50d605e12c66e0505c432125a0d6fea9c /chrome/browser/ssl_client_certificate_selector.h | |
parent | d66c757a9a434f48069b114fb49191e4790f9038 (diff) | |
download | chromium_src-1f6fdd45b31443447f6cdc7b6454f751fec9296d.zip chromium_src-1f6fdd45b31443447f6cdc7b6454f751fec9296d.tar.gz chromium_src-1f6fdd45b31443447f6cdc7b6454f751fec9296d.tar.bz2 |
Poll 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).
Review URL: http://codereview.chromium.org/9078003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl_client_certificate_selector.h')
0 files changed, 0 insertions, 0 deletions