Skip to content

Downloads resume by themselves, flush before verifying, lock the .part - #8

Merged
luxend0 merged 1 commit into
mainfrom
fix/downloads
Nov 16, 2026
Merged

luxend0 merged 1 commit into
mainfrom
fix/downloads

Conversation

@luxend0

@luxend0 luxend0 commented Nov 16, 2026

Copy link
Copy Markdown
Owner
  • A dropped connection, timeout or mirror 5xx used to end a download for good. It now resumes up to five times (2 to 32 s apart, the count resets while data flows). Tested against a local server that closes the connection halfway.
  • The write buffer is flushed and checked before the file counts as complete (a full disk could show up only at close).
  • A lock file keeps a second Testux window from appending to the same .part.

A dropped connection, a timeout or a 5xx from the mirror ended a download
for good; it now resumes up to five times (2-32 s apart, the count resets
while data flows). The write buffer is flushed and checked before the file
counts as complete, and a lock file keeps a second Testux from appending to
the same .part.
@luxend0
luxend0 merged commit 2f061a9 into main Nov 16, 2026
8 checks passed
@luxend0
luxend0 deleted the fix/downloads branch November 16, 2026 19:45
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.

1 participant