mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #535] [MERGED] feat: implement multipart ranges #637
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/sigoden/dufs/pull/535
Author: @45gfg9
Created: 1/30/2025
Status: ✅ Merged
Merged: 2/1/2025
Merged by: @sigoden
Base:
main← Head:main📝 Commits (2)
27577dafeat: implement multipart ranges781c311test: multipart ranges📊 Changes
3 files changed (+162 additions, -51 deletions)
View changed files
📝
src/server.rs(+57 -23)📝
src/utils.rs(+39 -27)📝
tests/range.rs(+66 -1)📄 Description
This is an attempt to implement #292. I wasn't able to give a use case then, I would now say that some esoteric client implementation would be able to utilize this feature, in fact some are still doing this, for example Electron updater. Some multithreaded downloader may also use multipart ranges to reduce the fragmented range requests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.