summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_network_transaction.cc
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 09:16:47 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 09:16:47 +0000
commit01bbacca5dbe1234a7b060050a9f69b45b1495e6 (patch)
tree3440de6628bc700025696ef8837665e9241031d5 /net/ftp/ftp_network_transaction.cc
parentd5f9e4f1db2fa1213bc2567f0f6d58a71291e5ed (diff)
downloadchromium_src-01bbacca5dbe1234a7b060050a9f69b45b1495e6.zip
chromium_src-01bbacca5dbe1234a7b060050a9f69b45b1495e6.tar.gz
chromium_src-01bbacca5dbe1234a7b060050a9f69b45b1495e6.tar.bz2
Revert "FTP: fix navigation to systems with broken EPSV support."i
XP Perf test regression diagnostic - http://build.chromium.org/buildbot/waterfall/builders/XP%20Perf%20(1)/builds/9081 This reverts commit r53882. Review URL: http://codereview.chromium.org/2884043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction.cc')
-rw-r--r--net/ftp/ftp_network_transaction.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index 471e8c9..f6b7203 100644
--- a/net/ftp/ftp_network_transaction.cc
+++ b/net/ftp/ftp_network_transaction.cc
@@ -1187,22 +1187,7 @@ int FtpNetworkTransaction::DoDataConnect() {
}
int FtpNetworkTransaction::DoDataConnectComplete(int result) {
- if (result == ERR_CONNECTION_TIMED_OUT && use_epsv_) {
- // It's possible we hit a broken server, sadly. Fall back to PASV.
- // TODO(phajdan.jr): remember it for future transactions with this server.
- // TODO(phajdan.jr): write a test for this code path.
- use_epsv_ = false;
- next_state_ = STATE_CTRL_WRITE_PASV;
- return OK;
- }
-
- // Only record the connection error after we've applied all our fallbacks.
- // We want to capture the final error, one we're not going to recover from.
RecordDataConnectionError(result);
-
- if (result != OK)
- return Stop(result);
-
next_state_ = STATE_CTRL_WRITE_SIZE;
return OK;
}