fix files: resume state hash validation, download cancel batching, piece

response bounds
This commit is contained in:
2026-02-11 14:21:44 -03:00
parent 30bad26e67
commit 47f949e4cc
4 changed files with 96 additions and 60 deletions

View File

@@ -136,6 +136,7 @@ pub fn main() !void {
resume_file,
total_size,
piece_size,
null,
.rarest_first,
);
@@ -175,6 +176,7 @@ pub fn main() !void {
resume_file,
total_size + 1024, // Wrong size
piece_size,
null,
.rarest_first,
);
@@ -190,6 +192,7 @@ pub fn main() !void {
"nonexistent_resume_file.resume",
total_size,
piece_size,
null,
.rarest_first,
);