You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Encrypted 'download all' ZIP opens new download sessions after 15 minutes #31
The browser-built ZIP asks for each file's download URL only when its turn comes. Once the 15-minute download session expires, downloadSessionStore.get(token) returns null and openSession runs again for the next file. That counts another download, or gets a 410.
Example: a 1-download bundle with 5 encrypted files of 1 GB each on a slow connection. The first session marks the bundle deleted, the next file gets a 410, and the ZIP fails partway, so the bundle can never be downloaded again. With max 10 downloads, a 2-hour ZIP silently uses about 8 of them.
Suggested fix: get all file URLs when the session opens, or let the client renew URLs within the existing session without counting another download.
Activity
Merge pull request #64 from Hiczownik/fix/download-sessions-and-purge