summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 04:24:58 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 04:24:58 +0000
commit06ef6d985b07d87216bd926553e70261a073f8e4 (patch)
tree1a4dcc2d4f419e41e9f693292c9e4eaaa7b47a8e /net/tools
parent3ad5e726639f2f03ba098d9acba459704fc598cc (diff)
downloadchromium_src-06ef6d985b07d87216bd926553e70261a073f8e4.zip
chromium_src-06ef6d985b07d87216bd926553e70261a073f8e4.tar.gz
chromium_src-06ef6d985b07d87216bd926553e70261a073f8e4.tar.bz2
Revert of 85854 which is a revert of 85852 - Add a command line option
("host-resolver-retry-attempts") to specify the number of retry attempts to resolve host. Relanding CL http://codereview.chromium.org/7011044/ BUG=82580 TEST=host resolver unit tests TBR=eroman Review URL: http://codereview.chromium.org/7011044 Review URL: http://codereview.chromium.org/7029050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/fetch/fetch_client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tools/fetch/fetch_client.cc b/net/tools/fetch/fetch_client.cc
index 2991ef8..4556080 100644
--- a/net/tools/fetch/fetch_client.cc
+++ b/net/tools/fetch/fetch_client.cc
@@ -139,6 +139,7 @@ int main(int argc, char** argv) {
scoped_ptr<net::HostResolver> host_resolver(
net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
+ net::HostResolver::kDefaultRetryAttempts,
NULL));
scoped_ptr<net::CertVerifier> cert_verifier(new net::CertVerifier);