« Previous | Next » 

Revision a96d6603

IDa96d6603b3be28b97029d5d150e761aeb172434d
Parent 7f86baf5
Child 9d9fc3fa

Added by Chris Dickinson almost 10 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences