Ticket #15 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

huge torrent size is displayed incorrect

Reported by: borgcube -ta- gmx -tod- li Owned by: cyla
Priority: minor Milestone: airborn
Component: rTWi Version: 0.3.0
Severity: Keywords:
Cc:

Description

Hi.

I'm downloading a huge torrent of about 40 Gigs. rTorrent displays the size correctly as 39506.0 MB - rTWi however displays a size of -1524633012.0 B, consequently miscalculating downloaded percentage and remaining time.

I'm not too sure however which version, but i downloaded it a few days ago.

Regards, Borg³

Change History

comment:1 Changed 4 years ago by cyla

  • Status changed from new to closed
  • Resolution set to worksforme

this is the fault of the xmlrpc-c library update your xmlrpc-c lib to 1.07 or newer xmlrpc-c versions older than 1.07 can't handle 64bit integers, so every value bigger than 231-1 (~2.1 GB) will be displayed incorrectly, due to integer overflow

Note: See TracTickets for help on using tickets.