Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: net/base/ssl_test_util.cc

Issue 118100: Avoid doing concurrent DNS resolves of the same hostname (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Get compiling on mac Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/ssl_test_util.cc
===================================================================
--- net/base/ssl_test_util.cc (revision 18213)
+++ net/base/ssl_test_util.cc (working copy)
@@ -247,7 +247,7 @@
// Otherwise tests can fail if they run faster than Python can start.
net::AddressList addr;
net::HostResolver resolver;
- int rv = resolver.Resolve(host_name, port, &addr, NULL);
+ int rv = resolver.Resolve(host_name, port, &addr, NULL, NULL);
if (rv != net::OK)
return false;

Powered by Google App Engine
This is Rietveld 408576698