diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-14 17:59:44 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-14 17:59:44 +0000 |
commit | f35205e4dc5551727836cbddc0bc01e0596f7972 (patch) | |
tree | b0362ec77b30e547ac3fe1d0fb1d2aa4383948e8 /net/ftp/ftp_network_transaction.h | |
parent | 0a194550f6dda2383298ee19af590a33ce645ae8 (diff) | |
download | chromium_src-f35205e4dc5551727836cbddc0bc01e0596f7972.zip chromium_src-f35205e4dc5551727836cbddc0bc01e0596f7972.tar.gz chromium_src-f35205e4dc5551727836cbddc0bc01e0596f7972.tar.bz2 |
FTP: fix compatibility with servers which send 451 response
for CWD command.
According to RFC 959 451 is not a valid response code for CWD
command, but it is reasonable to handle it in the same way
as the 550 response.
BUG=96401
Review URL: http://codereview.chromium.org/7889010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101106 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction.h')
-rw-r--r-- | net/ftp/ftp_network_transaction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h index c47c65f..a1637c2 100644 --- a/net/ftp/ftp_network_transaction.h +++ b/net/ftp/ftp_network_transaction.h @@ -175,6 +175,7 @@ class NET_EXPORT_PRIVATE FtpNetworkTransaction : public FtpTransaction { int ProcessResponseSIZE(const FtpCtrlResponse& response); int DoCtrlWriteCWD(); int ProcessResponseCWD(const FtpCtrlResponse& response); + int ProcessResponseCWDNotADirectory(); int DoCtrlWriteLIST(); int ProcessResponseLIST(const FtpCtrlResponse& response); int DoCtrlWriteQUIT(); |