-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming Gunzip breaks sometimes #74
Comments
Using native Compression Streams https://chromestatus.com/feature/5855937971617792 in chrome works as expected without issues, so I expect this is an real issue |
Tested this out and I can see the issue. This is a very annoying edge case, I'll fix it in v0.7.1. Thanks for the bug report and the reproducible example. EDIT: Just FYI, the quick workaround is to |
Should be fixed as v0.7.1. Changing the pen URL to |
Impressive! works like a charm |
How to reproduce
https://codepen.io/manucorporat/pen/PopXJgb?editors=1010
Notice the:
With this specific value, the ungzip breaks with
Error: invalid length/literal
, but works with other values, higher and lower.This variables allows to rechunk the file into smaller pieces.
This code is an example to minimally reproduce the issue, in production we got this error with random setups.
The problem
Gunzip streaming API sometimes errors.
The text was updated successfully, but these errors were encountered: