Open
Bug 1255604
Opened 10 years ago
Updated 1 year ago
NS_InputStreamIsBuffered() and NS_OutputStreamIsBuffered() should treat WOULD_BLOCK as buffered
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: bkelly, Unassigned)
References
Details
Attachments
(1 file)
As I mentioned in bug 1255070 comment 0, if a stream returns NS_BASE_STREAM_WOULD_BLOCK from ReadSegments() or WriteSegments(), then our IsBuffered() methods treat the stream as unbuffered. This is wrong. Just because a stream is async does not mean it is unbuffered.
We should explicitly treat these streams as buffered.
| Reporter | ||
Comment 1•10 years ago
|
||
| Reporter | ||
Updated•7 years ago
|
Assignee: ben → nobody
Status: ASSIGNED → NEW
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•