- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 06 Apr 2017 02:03:36 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 6 April 2017 09:04:08 UTC
Previously, the spec wording allowed for immediate shutdown if the readable stream became closed, even if there were outstanding writes which did not yet get written. This fixes that, by requiring any already-read chunks to be written when possible. The reference implementation mostly did not suffer from this, but did in the case where a read completes while a write is ongoing. This was fixed by making its "wait for writes to finish" functionality more robust. Fixes #644. Tests: https://github.com/w3c/web-platform-tests/pull/5270 You can view, comment on, or merge this pull request online at: https://github.com/whatwg/streams/pull/726 -- Commit Summary -- * Fix pipeTo() to ensure all read chunks are written -- File Changes -- M index.bs (19) M reference-implementation/lib/readable-stream.js (14) -- Patch Links -- https://github.com/whatwg/streams/pull/726.patch https://github.com/whatwg/streams/pull/726.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/726
Received on Thursday, 6 April 2017 09:04:08 UTC