diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 22:10:25 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 22:10:25 +0000 |
commit | 02cf5a4cb28d86669bcc4c3934f51437795b05ac (patch) | |
tree | ebf581c062a8f469bd0dbaa18df1e37b2ad8e0b1 /net/base | |
parent | d6fc4854834e9764dadeaf9fa826c06776d9a96e (diff) | |
download | chromium_src-02cf5a4cb28d86669bcc4c3934f51437795b05ac.zip chromium_src-02cf5a4cb28d86669bcc4c3934f51437795b05ac.tar.gz chromium_src-02cf5a4cb28d86669bcc4c3934f51437795b05ac.tar.bz2 |
Retry proxies which were cached as bad before giving up.
This morphs ProxyList::RemoveBadProxies() into ProxyList::DeprioritizeBadProxies(), such that "bad proxies" are moved to the end of the fallback list rather than removed alltogether.
BUG=31983
TEST=ProxyListTest.DeprioritizeBadProxies
Review URL: http://codereview.chromium.org/542029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36054 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/net_error_list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index 9502018..3bc2c3e 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -289,7 +289,7 @@ NET_ERROR(UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT, -334) NET_ERROR(INVALID_FLIP_STREAM, -335) // There are no supported proxies in the provided list. -NET_ERROR(EMPTY_PROXY_LIST, -336) +NET_ERROR(NO_SUPPORTED_PROXIES, -336) // The cache does not have the requested entry. NET_ERROR(CACHE_MISS, -400) |