You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aria2 should not change the amount of uploaded data the RPC returns when the torrent is paused and then unpaused again.
Current Behavior
Aria2 adds the amount uploaded in the current session to the uploaded amount (which already includes the current session) which distorts this metric making it unable to rely on.
Steps to Reproduce
Add a torrent to aria2 (preferably one noone else is seeding/downloading)
Download this torrent (or just a part of it) from a different instance.
Get the uploaded amount from the RPC (uploadLength)
Pause the torrent
Unpause it again
Get the uploaded amount
The second time the uploaded amount is queried from the RPC it will be doubled from the first time. When trying steps 2 – 6 in a new session (with the same metadata file using --force-save) the amount will increase by the amount of data uploaded in the new session.
Expected Behavior
Aria2 should not change the amount of uploaded data the RPC returns when the torrent is paused and then unpaused again.
Current Behavior
Aria2 adds the amount uploaded in the current session to the uploaded amount (which already includes the current session) which distorts this metric making it unable to rely on.
Steps to Reproduce
uploadLength
)The second time the uploaded amount is queried from the RPC it will be doubled from the first time. When trying steps 2 – 6 in a new session (with the same metadata file using
--force-save
) the amount will increase by the amount of data uploaded in the new session.This is how I did it:
My aria2 version is 1.34.0 (from debian testing).
The text was updated successfully, but these errors were encountered: