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

🐛 [in brackets] back: immediately start streaming downloading of zip #783 #788

Conversation

ericlinagora
Copy link
Contributor

When downloading a folder with a great many entries below, time to first byte can cause a tcp disconnection for timeout by a reverse proxy, this starts the download asap, and ignores unreadable entries because of AV or rights. It tries to generate a valid zip even if some entries are missing for those reasons

@ericlinagora ericlinagora changed the title 🐛 back: immediately start streaming downloading of zip #783 🐛 [in brackets] back: immediately start streaming downloading of zip #783 Jan 23, 2025
@ericlinagora ericlinagora force-pushed the 783-bug-err_connection_close-when-downloading-a-zip-of-a-folder-with-a-great-many-number-of-files branch from ce89235 to c39bdd9 Compare January 24, 2025 13:34
@@ -345,6 +345,9 @@ export const addDriveItemToArchive = async (
id: string,
entity: DriveFile | null,
archive: archiver.Archiver,
beginArchiveTransmit:
Copy link
Member

Choose a reason for hiding this comment

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

I love this, string or function, do you miss void*?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol, no that's just object. Here i want to make sure it's not called with a falsy/null/undef value if it isn't done only for the reason of passing the call having happened down the recursion

@ericlinagora ericlinagora merged commit a1cb74e into main Jan 24, 2025
7 checks passed
@ericlinagora ericlinagora deleted the 783-bug-err_connection_close-when-downloading-a-zip-of-a-folder-with-a-great-many-number-of-files branch January 24, 2025 15:23
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.

Bug ERR_CONNECTION_CLOSE when downloading a zip of a folder with a great many number of files
2 participants