Revision a96d6603
ID | a96d6603b3be28b97029d5d150e761aeb172434d |
Parent | 7f86baf5 |
Child | 9d9fc3fa |
stream2: flush extant data on read of ended stream
A ReadableStream with a base64 StringDecoder backed by only
one or two bytes would fail to output its partial data before
ending. This fix adds a check to see if the `read` was triggered
by an internal `flow`, and if so, empties any remaining data.
fixes #7914.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
Files
- added
- modified
- copied
- renamed
- deleted