Skip to content
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: stream protocols sometimes flake out #21113

Merged
merged 1 commit into from Nov 18, 2019
Merged

Conversation

nornagon
Copy link
Member

Description of Change

Fixes #21018. I'm not exactly sure why, but applying this change locally seems to resolve the problem for me.

Checklist

Release Notes

Notes: Fixed an issue where custom protocols registered using registerStreamProtocol would sometimes fail to complete the response when the stream ended.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 13, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Nov 14, 2019
@nornagon
Copy link
Member Author

CI appears to be flake, merging.

@nornagon nornagon merged commit 4045852 into master Nov 18, 2019
@release-clerk
Copy link

release-clerk bot commented Nov 18, 2019

Release Notes Persisted

Fixed an issue where custom protocols registered using registerStreamProtocol would sometimes fail to complete the response when the stream ended.

@trop
Copy link
Contributor

trop bot commented Nov 18, 2019

I have automatically backported this PR to "7-1-x", please check out #21179

@trop
Copy link
Contributor

trop bot commented Nov 18, 2019

I have automatically backported this PR to "8-x-y", please check out #21180

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.

Stream protocols and fs.createReadStream sometimes never complete in Electron 7
2 participants