Skip to content

Conversation

@bexsoft
Copy link
Collaborator

@bexsoft bexsoft commented Jul 27, 2023

fixes #2961
fixes #2957

What does this do?

  • Remove StreamSaver library
  • Updated Handler for files with size of 49GB or less
  • Used Browser Handler tor size of more than 50GB

- Updated Handler for files with size of 49GB or less
- Used Browser Handler tor size of more than 50GB

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
Copy link
Member

@harshavardhana harshavardhana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the logic behind this can you explain a bit?

@bexsoft
Copy link
Collaborator Author

bexsoft commented Jul 27, 2023

What is the logic behind this can you explain a bit?

Sure, Basically we changed the Download manager to use the original method that we had before to handle the objects downloads.

  • We create a local HTTP request, add the listeners necessary to show the information in the object manager (Progress, Errors, File download complete & the ability to cancel the download)
  • The new thing that was added is to use the browser native download manager in case the file you are trying to download is bigger than 50GB (this is to avoid "Network error occured" when downloading large file #2760)

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.

StreamSaver.js leaks incorrect URL information via web console Can't download file from console when github unavailable

3 participants