Closed Bug 71644 Opened 24 years ago Closed 22 years ago

nsFileTransport should be able to reuse its underlying nsIStreamIO object

Categories

(Core :: Networking: File, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID
Future

People

(Reporter: darin.moz, Assigned: dougt)

Details

nsFileTransport should be able to reuse its underlying nsIStreamIO object. Currently, the file transport closes its mStreamIO member when done reading or writing. This requires clients of the file transport to create a new file transport if they wish to read (or write to) the stream again. Though some streams cannot be rewound, there should be a way to allow rewinding of streams that do support this.
possibly a flag you pass when creating the nsIStreamIO?
darin, is this needed for cache? If not, I am going to future it.
The cache can and does work around this.
Target Milestone: --- → Future
API Change
Target Milestone: Future → mozilla1.0
QA Contact: tever → benc
Target Milestone: mozilla1.0 → Future
doug: can you expand on your previous comment? If cache does not need this, is it a wontfix?
file transport will be dead soon (see bug 176919)... anyways, this bug is no longer relevant.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
VERIFIED, thanks! fewer bugs for everyone...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.