From 68ad3eeffee6a1e4972b099bffdef17b7d99624d Mon Sep 17 00:00:00 2001 From: "eroman@chromium.org" Date: Sat, 30 Jan 2010 03:45:39 +0000 Subject: Add mechanism for global queueing and prioritization of DNS. Currently this limit is very high (50), but it can be tuned through a variable. BUG=9598 TEST= HostResolverImplTest.HigherPriorityRequestsStartedFirst HostResolverImplTest.CancelPendingRequest HostResolverImplTest.QueueOverflow Review URL: http://codereview.chromium.org/542086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37608 0039d316-1c4b-4281-b951-d872f2087c98 --- net/tools/hresolv/hresolv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/tools/hresolv/hresolv.cc') diff --git a/net/tools/hresolv/hresolv.cc b/net/tools/hresolv/hresolv.cc index f865a53..f092703 100644 --- a/net/tools/hresolv/hresolv.cc +++ b/net/tools/hresolv/hresolv.cc @@ -446,7 +446,7 @@ int main(int argc, char** argv) { base::TimeDelta::FromSeconds(0)); scoped_refptr host_resolver( - new net::HostResolverImpl(NULL, cache, NULL)); + new net::HostResolverImpl(NULL, cache, NULL, 100u)); ResolverInvoker invoker(host_resolver.get()); invoker.ResolveAll(hosts_and_times, options.async); -- cgit v1.1