Skip to content

Conversation

@yury-s
Copy link
Member

@yury-s yury-s commented Apr 28, 2021

  • Readable.read() can return null multiple times before reaching end of stream. If its buffer is empty we have to wait for readable event before assuming that returned null means end of stream.
  • Added test for large zip download which exposed the issue

Fixes #6286

@yury-s yury-s changed the title test: add test for loarge zip download fix: do not close stream until all bytes have been read Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]ZIP file containing binaries will not be downloaded complete with WebKit

3 participants