Skip to content

Incorrect values of downloaded and percentage #194

@rilysh

Description

@rilysh

Downloading a large file, result incorrect output of megabytes of downloaded size and current percentage of download.
File that I download: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.3.0-amd64-netinst.iso
image

Total size of the file in ContentLength is nearly 378 MiB however pb shows that it only downloaded 376.79 MiB where it downloaded 378 MiB and same goes with the percentage, it's didn't reach 100% where it should be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions