summaryrefslogtreecommitdiffstats
path: root/net/ftp
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 17:08:07 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 17:08:07 +0000
commit0a0b768baf188195cea0e58bf61313cb948f1ddd (patch)
tree96188cae26746d1673e11c29dc493c1538332210 /net/ftp
parent18c0b57df5cf6a7cf06edc35261af82b9f6c6e8e (diff)
downloadchromium_src-0a0b768baf188195cea0e58bf61313cb948f1ddd.zip
chromium_src-0a0b768baf188195cea0e58bf61313cb948f1ddd.tar.gz
chromium_src-0a0b768baf188195cea0e58bf61313cb948f1ddd.tar.bz2
In about:net-internals, each SOCKET created by a CONNECT_JOB holds a reference to the CONNECT_JOB that spawned it.
BUG=47082 TEST=manual Review URL: http://codereview.chromium.org/3164005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp')
-rw-r--r--net/ftp/ftp_network_transaction.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index f4de8ab..f66ab0d 100644
--- a/net/ftp/ftp_network_transaction.cc
+++ b/net/ftp/ftp_network_transaction.cc
@@ -631,7 +631,7 @@ int FtpNetworkTransaction::DoCtrlResolveHostComplete(int result) {
int FtpNetworkTransaction::DoCtrlConnect() {
next_state_ = STATE_CTRL_CONNECT_COMPLETE;
ctrl_socket_.reset(socket_factory_->CreateTCPClientSocket(
- addresses_, net_log_.net_log()));
+ addresses_, net_log_.net_log(), net_log_.source()));
return ctrl_socket_->Connect(&io_callback_);
}
@@ -1183,7 +1183,7 @@ int FtpNetworkTransaction::DoDataConnect() {
return Stop(rv);
data_address.SetPort(data_connection_port_);
data_socket_.reset(socket_factory_->CreateTCPClientSocket(
- data_address, net_log_.net_log()));
+ data_address, net_log_.net_log(), net_log_.source()));
return data_socket_->Connect(&io_callback_);
}