Opened 9 years ago
Last modified 8 years ago
#5764 new Bug
Blocklist downloader report incorrect information
Reported by: | coeurnoir | Owned by: | livings124 |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Mac Client | Version: | 2.84 |
Severity: | Normal | Keywords: | |
Cc: |
Description
When downloading a blocklist, I see it showing (40.0 of 18.1 MB) when really it has downloaded 8.58 MB
Attachments (1)
Change History (5)
comment:1 Changed 9 years ago by livings124
comment:2 Changed 9 years ago by coeurnoir
I get an internal server error when trying to attach a screenshot. It is the OS X client.
comment:3 Changed 8 years ago by mike.dld
- Component changed from Transmission to Mac Client
- Owner set to livings124
Closed #5936 as duplicate of this ticket.
Changed 8 years ago by tomyun
comment:4 Changed 8 years ago by tomyun
Mac OS X client shows total length of compressed .gz file, while progress is in decompressed length, so it could become much larger than the total length. The culprit is download:didReceiveDataOfLength: of NSURLDownloadDelegate that only reports the length of decompressed contents when decoding .gz mime type.
I couldn't find a way to get the length of compressed contents for this, but instead circumvent the issue by extending decompressBlocklist to manually handle .gz files like we do for .zip files. A patch is attached to this ticket, so please have a look.
What client is this with?