Commit Graph
2 Commits
Author SHA1 Message Date
imSp4rky 3a0a74e694 test: delete slow, timing-based and redundant tests 2026-12-05 15:20:05 -07:00
imSp4rky 22cc739e83 fix(downloader): correct truncation, ranged sizing, and session carry
Check a sequential download against the complete length whenever one is known, and settle the unknown-total case on the 416. An empty body of unknown length, a 206 with no complete length, and a 206 starting past the resume offset all passed the size checks before and were renamed into place. Four restart paths spent no attempt, so a host that always answered the same way cycled forever.
2026-09-06 20:03:08 -06:00