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

Unified Diff: net/ftp/ftp_network_transaction.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/ftp/ftp_network_transaction.cc
===================================================================
--- net/ftp/ftp_network_transaction.cc (revision 18213)
+++ net/ftp/ftp_network_transaction.cc (working copy)
@@ -34,6 +34,7 @@
user_callback_(NULL),
session_(session),
request_(NULL),
+ resolver_(session->host_resolver()),
read_ctrl_buf_size_(kCtrlBufLen),
response_message_buf_len_(0),
read_data_buf_len_(0),

Powered by Google App Engine
This is Rietveld 408576698