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
fix: registerStreamProtocol callback with large chunks #16532
Conversation
Marked [wip] because this should be commit as |
Ref #16213 |
This comment has been minimized.
This comment has been minimized.
A maintainer has manually backported this PR to "4-0-x", please check out #16540 |
Release Notes Persisted
|
I have automatically backported this PR to "5-0-x", please check out #16553 |
A maintainer has manually backported this PR to "4-0-x", please check out #16540 |
Description of Change
This fixes a bug in the registerStreamProtocol API that was introduced in Electron 4. The response was being closed before the data in the stream was exhausted.
Checklist
npm test
passesRelease Notes
Notes: Fixed an issue where data streamed from registerStreamProtocol could be truncated before completion.