Closed Bug 59805 Opened 20 years ago Closed 19 years ago
ftp through proxy causes assertion
When I use my proxy for an ftp connection, CVS mozilla (as of a few hours ago) spits out: ###!!! ASSERTION: nsHTTPChannel::SetTransferOffset: 'Not Reached', file nsHTTPChannel.cpp, line 489 ###!!! Break: at file nsHTTPChannel.cpp, line 489 ###!!! ASSERTION: nsHTTPChannel::SetTransferCount: 'Not Reached', file nsHTTPChannel.cpp, line 503 ###!!! Break: at file nsHTTPChannel.cpp, line 503 This occurs on any directory or file download. The ftp operation still succeeds, even with these assertions.
Reporter: can you verify this bug against a recent build like Netscape 6.0? Thanks!
Yep, still happens in a build which was pulled from CVS about 24 hours ago.
Its almost certainly due to lines 330-331 of nsFTPChannel.cpp, which call those functions on the proxy channel, and then ignore errors for the result: // rjc says: ignore errors on SetTransferOffset() and // SetTransferCount() as they may be unimplemented
ftp bugs to component:ftp
Assignee: gagan → dougt
Component: Networking → Networking: FTP
Target Milestone: --- → M19
Target Milestone: --- → mozilla0.9.1
This got fixed somewhere along the way, probably when those functions were removed as part of the necko branch landing.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
verified per bradley's comments
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.