Closed
Bug 173280
Opened 22 years ago
Closed 22 years ago
download dialog comes up even though FTP server can't be found
Categories
(Core Graveyard :: Networking: FTP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.2beta
People
(Reporter: jud, Assigned: dougt)
References
()
Details
problem: when visiting said URL, can clicking on the "301 or later" download link in the right column, a save-as dialog is thrown, then a download progress dialog. a file of zero length gets created on the file system, however, the ftp server isn't even accessible. expected results: a dialog gets thrown telling the user the server can't be reached.
Assignee | ||
Updated•22 years ago
|
Severity: normal → major
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Comment 1•22 years ago
|
||
dupe of the old bug 63798 *** This bug has been marked as a duplicate of 63798 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 2•22 years ago
|
||
not so fast.... this is clearly a new regression.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 3•22 years ago
|
||
the nsOnStopRequestEvent depends on the request having the a valid status. however, we are not setting the internal state before making use of this event. This patch fixes it for me. Index: nsFtpConnectionThread.cpp =================================================================== RCS file: /cvsroot/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp,v retrieving revision 1.250 diff -u -r1.250 nsFtpConnectionThread.cpp --- nsFtpConnectionThread.cpp 30 Sep 2002 21:50:17 -0000 1.250 +++ nsFtpConnectionThread.cpp 9 Oct 2002 04:55:34 -0000 @@ -2381,6 +2381,8 @@ if ( NS_SUCCEEDED(broadcastErrorCode)) broadcastErrorCode = mInternalError; + mInternalError = broadcastErrorCode; + if (mDPipeRequest && NS_FAILED(broadcastErrorCode)) mDPipeRequest->Cancel(broadcastErrorCode); Can I get a r/sr?
Comment 4•22 years ago
|
||
sr=darin
Comment 6•22 years ago
|
||
sorry for incorrect duping....
a=dbaron for trunk checkin
Assignee | ||
Comment 8•22 years ago
|
||
I landed this sometime last week. Marking Fixed.
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Build: 2002-10-25-04-trunk A dialog appears indicating server cannot be reached. This reflects expected behavior. Marking Verified!
Status: RESOLVED → VERIFIED
QA Contact: benc → jimmylee
Updated•2 months ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•