Skip to content

Fix Chromium crash on 150MB upload #596

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

Merged
merged 1 commit into from
Oct 1, 2018
Merged

Fix Chromium crash on 150MB upload #596

merged 1 commit into from
Oct 1, 2018

Conversation

lidel
Copy link
Member

@lidel lidel commented Sep 24, 2018

This PR closes #464 (crash when dropping a big file) by switching to stream-http with this fix by @hugomrdias ✨ πŸ‘

TL;DR it makes this go away when user uploads >150MB in Chromium-based browser to external node over js-ipfs-api.

2018-09-24-223713_736x252_scrot

More context: #464

cc @ipfs-shipyard/gui as this is a highly relevant fix for WebUI / Share app and possibly Desktop too.

Note: in Companion I am able to use yarn-specific resolutions to force specific version of transitive dependency.

This fix will eventually get released and will land in js-ipfs-api.
I plan to remove it from resolutions when that happens.

Switches to stream-http with a fix.
Context: #464
@lidel lidel merged commit 329199b into master Oct 1, 2018
@lidel lidel deleted the fix/150mb-upload-crash branch October 1, 2018 13:26
@lidel
Copy link
Member Author

lidel commented Oct 1, 2018

Companion uses yarn anyway (for reproducible builds), so let's go with this as-is.
When upstream fix is released, we will switch to that.

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.

crash when dropping a big file
1 participant