Index: net/ftp/ftp_network_transaction.cc |
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc |
index dbe1154f8262fc7260833bb7abdcf43aba9e8137..72d94c202abff1dc018e3a61eb8bec517b6a2d8c 100644 |
--- a/net/ftp/ftp_network_transaction.cc |
+++ b/net/ftp/ftp_network_transaction.cc |
@@ -668,6 +668,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()); |