Closed Bug 74512 Opened 19 years ago Closed 19 years ago

file transport should support non-blocking streams

Categories

(Core :: Networking, defect)

defect
Not set

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: darin.moz, Assigned: darin.moz)

References

Details

Attachments

(1 file)

this bug was spun off of bug 74104.
Status: NEW → ASSIGNED
Keywords: nsbeta1
Target Milestone: --- → mozilla0.9
Blocks: 64833
Keywords: patch
Can you please provide a description of the changes?
i added support to the file transport for non-blocking streams.  previously,
the file transport indirectly treated a NS_BASE_STREAM_WOULD_BLOCK return value
from nsI{In,Out}putStream::{Read,Write} as end-of-file.

with this patch, the file transport will suspend itself automagically when it
encounters this error.  it is then up to someone else to Resume the file
transport when more data becomes available.
dougt says: "r=dougt.  go for it."
sr=rpotts

fix checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Blocks: 75664
-> networking

Component: Networking: File → Networking
QA Contact: tever → bbaetz
VERIFIED with lxr.
Status: RESOLVED → VERIFIED
No longer blocks: 64833
You need to log in before you can comment on or make changes to this bug.