summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_network_transaction.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 22:27:44 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 22:27:44 +0000
commita1cea36673186829ab5d1d1408ac50ded3ca5850 (patch)
treeef97eb1dc48d33432be11a472d0c7315fc88437f /net/ftp/ftp_network_transaction.h
parent20ebc1882282e27358a7c9e517db7873a454e6e3 (diff)
downloadchromium_src-a1cea36673186829ab5d1d1408ac50ded3ca5850.zip
chromium_src-a1cea36673186829ab5d1d1408ac50ded3ca5850.tar.gz
chromium_src-a1cea36673186829ab5d1d1408ac50ded3ca5850.tar.bz2
Don't trust server's PASV response that much in FtpNetworkTransaction.
TEST=Covered by net_unittests. http://crbug.com/20334 Review URL: http://codereview.chromium.org/180011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction.h')
-rw-r--r--net/ftp/ftp_network_transaction.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h
index 4dbf6f4..ee9c141 100644
--- a/net/ftp/ftp_network_transaction.h
+++ b/net/ftp/ftp_network_transaction.h
@@ -145,8 +145,6 @@ class FtpNetworkTransaction : public FtpTransaction {
int DoCtrlWriteQUIT();
int ProcessResponseQUIT(const FtpCtrlResponse& response);
- int DoDataResolveHost();
- int DoDataResolveHostComplete(int result);
int DoDataConnect();
int DoDataConnectComplete(int result);
int DoDataRead();
@@ -196,7 +194,6 @@ class FtpNetworkTransaction : public FtpTransaction {
bool retr_failed_;
- std::string data_connection_ip_;
int data_connection_port_;
ClientSocketFactory* socket_factory_;
@@ -230,8 +227,6 @@ class FtpNetworkTransaction : public FtpTransaction {
STATE_CTRL_WRITE_MDTM,
STATE_CTRL_WRITE_QUIT,
// Data connection states:
- STATE_DATA_RESOLVE_HOST,
- STATE_DATA_RESOLVE_HOST_COMPLETE,
STATE_DATA_CONNECT,
STATE_DATA_CONNECT_COMPLETE,
STATE_DATA_READ,