Total downloaded/uploaded data includes protocol overhead

Bug #711253 reported by Mith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
Triaged
Wishlist
Unassigned

Bug Description

Download and upload ratio reported to the tracker is wrong, the ratio reported in qBittorrent is correct. Communication with the tracker seems faulty.

For example: I downloaded ~1.36 GB as reported in qBittorrent, tracker reports ~1.33 GB downloaded. Same problem with the upload, if i upload for example ~100mb as reported in qBittorrent, the tracker reports ~85mb.

Using qBittorrent 2.6.4 (compiled package from MDIB on sourceforge), on Win XP SP3.

Edit1: Just wanted to add that i am not the only one with the problem, people have reported this on the forum as well.

Mith (d-deleeuw)
description: updated
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Or maybe one includes the protocol overhead and the other doesn't, I need to check.

In any case, qBittorrent does NOT interact with the trackers since it is only a GUI for libtorrent-rasterbar (which is used by many other clients).

Now, in the UI, it would make sense to display the payload data only and not the protocol overhead. If it is not the case, then it is a bug and I'll fix it. But that would just be a display problem (nothing to do with the tracker).

Revision history for this message
Mith (d-deleeuw) wrote :

The torrent really is ~1,36 GB big (reported size on tracker, and on my HD after i downloaded it), downloaded everything, tracker reports i downloaded ~1,33GB. This happens with all the torrents btw, and the private tracker. A couple of more examples:

1.38 GB total size of files in torrent downloaded, 1.33 GB downloaded according to tracker.
353 MB total size of files in torrent downloaded, 348 MB downloaded according to tracker.
2.4 GB total size of files in torrent downloaded, 2.36 GB downloaded according to tracker.
4.54 GB total size of files in torrent downloaded, 4.13 GB downloaded according to tracker.

If you want more info let me know.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I checked for libtorrent documentation. As I suspected, qBittorrent displayed the total amounts uploaded / downloaded (Payload + protocol overhead). Trackers only display the payload amount.

Unfortunately, libtorrent does not seems to report the all_time_payload_upload / upload, only all_time_download / upload.
I will probably file a feature request against libtorrent but I least you know the reason now.

libtorrent *does* report the amounts correctly to the trackers.

summary: - Download and upload ratio reported to tracker is wrong.
+ Total downloaded/Downloaded data includes protocol overhead
summary: - Total downloaded/Downloaded data includes protocol overhead
+ Total downloaded/uploaded data includes protocol overhead
Changed in qbittorrent:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok, then, you should probably ask the libtorrent team about it, there may be a bug there. Their bug tracker is there:
http://code.google.com/p/libtorrent/issues/entry

Thanks in advance.

Revision history for this message
Mith (d-deleeuw) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.