y500 / libtorrent

Automatically exported from code.google.com/p/libtorrent
0 stars 0 forks source link

scrape_downloaded overflow (in announce_entry) #755

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The varialbe scrape_downloaded is declared as int but the value returned by the 
tracker can be huge (i.e. in the last Game of Thrones episode there are more 
than 700.000 downloads). In other clients the number is displayed correctly, 
your lib shows 0 when the number is big.

Original issue reported on code.google.com by diegodel...@gmail.com on 8 Jun 2015 at 10:30

GoogleCodeExporter commented 8 years ago
Btw, scrape_downloaded is always 0 in udp trackers. It's working with http 
trackers.

Original comment by diegodel...@gmail.com on 8 Jun 2015 at 10:42

GoogleCodeExporter commented 8 years ago
Forget what I said in the first comment, the problem is that does not work on 
udp trackers. At first I thought that was a problem with large numbers but 
that's not the problem.

Original comment by diegodel...@gmail.com on 9 Jun 2015 at 1:49

GoogleCodeExporter commented 8 years ago
are you sure this is a problem with libtorrent and not a problem with the UDP 
tracker you're using?
Do you have a capture of a scrape response from a UDP tracker?

Original comment by arvid.no...@gmail.com on 25 Jul 2015 at 11:41

GoogleCodeExporter commented 8 years ago
You can close this issue and continue talking here 
https://github.com/arvidn/libtorrent/issues/29 Read the last message and reopen 
the issue if you are going to implement that.

Original comment by diegodel...@gmail.com on 26 Jul 2015 at 12:08

GoogleCodeExporter commented 8 years ago

Original comment by arvid.no...@gmail.com on 26 Jul 2015 at 3:28