Closed mianharisali closed 7 years ago
Yes, I see how that is possible, is a logic inside libtorrent
, I will send a PR
Fixed in 1.2.0.6-RC1
@aldenml now it returns correct size array , but the file progress return 0. this happens only if we force recheck it. even after force recheck it gives wrong values 0 for all files.
PIECE_GRANULARITY
only give you the pieces that have passed the hash check, since you are calling forceRecheck
the internal progress cache is cleared, then this is the correct behavior. Now, this call to forceRecheck
is asynchronous, so you need to work with the alerts to correctly time the call to fileProgress
@aldenml but even after force recheck the progress is 0 for all files.
This behaviour occurs of torrent is not completely downloaded. On seeding state it returns correct values.