Closed Bug 59805 Opened 24 years ago Closed 23 years ago

ftp through proxy causes assertion

Categories

(Core Graveyard :: Networking: FTP, defect, P3)

x86
Linux

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: bbaetz, Assigned: dougt)

References

Details

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
Blocks: 61691
Blocks: 62353
Keywords: nsbeta1
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: 23 years ago
Resolution: --- → FIXED
verified per bradley's comments
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.