Skip to content

Support files sizes that are not a multiple of mmap.ALLOCATIONGRANULARITY #2

@NewbiZ

Description

@NewbiZ

Currently there is a risk that the download will fail if the file size is not a multiple of mmap.ALLOCATIONGRANULARITY.
This is because each worker creates a memory map of the destination file, and the last chunk has no special treatment when not a multiple of 4KB.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions