summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 03:37:51 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 03:37:51 +0000
commit962b98214d0ca8e8db14ae83ccb79667ec440eac (patch)
tree25a805a00af4dbafb4dcf47200ec355f1a43be51 /chrome_frame
parent3aee726050eeb2b29f26abf7da806ba1d1af2389 (diff)
downloadchromium_src-962b98214d0ca8e8db14ae83ccb79667ec440eac.zip
chromium_src-962b98214d0ca8e8db14ae83ccb79667ec440eac.tar.gz
chromium_src-962b98214d0ca8e8db14ae83ccb79667ec440eac.tar.bz2
Add a command line flag to change the default number of parallel DNS requests issued by chrome.
--host-resolver-parallelism=XXX This is a useful debugging tool, since for some users too many parallel DNS requests results in spurious DNS failures from their resolver. BUG=44489 Review URL: http://codereview.chromium.org/3019007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/test_server_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/test/test_server_test.cc b/chrome_frame/test/test_server_test.cc
index 3e762a0..e9f3bf8 100644
--- a/chrome_frame/test/test_server_test.cc
+++ b/chrome_frame/test/test_server_test.cc
@@ -61,7 +61,8 @@ class ScopedInternet {
class URLRequestTestContext : public URLRequestContext {
public:
URLRequestTestContext() {
- host_resolver_ = net::CreateSystemHostResolver();
+ host_resolver_ =
+ net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism);
proxy_service_ = net::ProxyService::CreateNull();
ssl_config_service_ = new net::SSLConfigServiceDefaults;
http_auth_handler_factory_ = net::HttpAuthHandlerFactory::CreateDefault();