Index: net/ftp/ftp_network_transaction.cc |
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc |
index 8ecde3104de06e93f15218764c8ae756c40a1f6a..9216d494c75435b7fad48cfafa7e88298bdb03bd 100644 |
--- a/net/ftp/ftp_network_transaction.cc |
+++ b/net/ftp/ftp_network_transaction.cc |
@@ -655,6 +655,7 @@ int FtpNetworkTransaction::DoCtrlConnect() { |
next_state_ = STATE_CTRL_CONNECT_COMPLETE; |
ctrl_socket_ = socket_factory_->CreateTransportClientSocket( |
addresses_, NULL, net_log_.net_log(), net_log_.source()); |
+ ctrl_socket_->SetFailOnSuspend(true); |
net_log_.AddEvent( |
NetLogEventType::FTP_CONTROL_CONNECTION, |
ctrl_socket_->NetLog().source().ToEventParametersCallback()); |