backing out fix for bug 141451, r=dougt

This commit is contained in:
neeti%netscape.com 2002-09-17 20:22:32 +00:00
Родитель 4769f79c52
Коммит 419b5dcf2b
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -1537,12 +1537,7 @@ nsFtpState::S_retr() {
if (!mDRequestForwarder)
return NS_ERROR_FAILURE;
// bug 141451 - We call this before receiving the error because on some
// systems the error closes the mDRequestForwarder data socket faster
// than we can process the control channels error code.
mDRequestForwarder->SetRetrying(PR_TRUE);
rv = SendFTPCommand(retrStr);
return rv;
}
@ -1584,6 +1579,7 @@ nsFtpState::R_retr() {
if (mResponseCode/100 == 5) {
mRETRFailed = PR_TRUE;
mDRequestForwarder->SetRetrying(PR_TRUE);
return FTP_S_PASV;
}