Closed Bug 73231 Opened 19 years ago Closed 19 years ago
File Transport should report progress even if content-length is unknown
nsFileTransport should report progress even if content-length is unknown (a la nsSocketTransport).
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
dougt, rpotts: can you guys review this patch? thx!
how can the content length be unknown?
the mStreamIO object can return -1 for the content length, which might correspond to a stream being downloaded, for example, and then pumped through a file transport. consider that embedders might be getting data from outside sources.
roger that. sr=
Looks good. r/sr=rpotts -- rick
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
VERIFIED checked in via lxr.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.