mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-21 08:56:07 -04:00
[PR #125] [MERGED] Fix for multi-version downloads #155
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Drop-OSS/drop-app/pull/125
Author: @DecDuck
Created: 8/28/2025
Status: ✅ Merged
Merged: 8/28/2025
Merged by: @DecDuck
Base:
develop← Head:multi-version-download-fix📝 Commits (3)
355df48fix: multi version downloadsd52547efix: remove debug utils5efa88dfix: clippy📊 Changes
3 files changed (+74 additions, -34 deletions)
View changed files
📝
src-tauri/src/error/remote_access_error.rs(+5 -0)📝
src-tauri/src/games/downloads/download_agent.rs(+67 -32)📝
src-tauri/src/games/downloads/manifest.rs(+2 -2)📄 Description
Manifests from the server assign a version to each chunk, due to how delta versions are laid on top of each other. This fix is a client-side only fix, slated for v0.3.3 client.
It organises buckets by version, rather than assigning a version to each chunk, to keep the download_logic.rs simple. It pre-requests all download contexts before starting the download, so contexts may expire if downloads take long enough and the different versions aren't spaced equally throughout the manifest.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.