Closed GoogleCodeExporter closed 8 years ago
Can you provide a torrent that exhibits this behavior?
Do these torrents typically have multiple files? Perhaps many small files
spanning a single piece?
There is a known issue that if the web server doesn't support keep-alive, 16
kiB blocks that would require more than a single request won't work. libtorrent
currently must request an entire block within the same connection. If the
server closes the connection, the partial block that may have been downloaded
is discarded (just like normal bittorrent peers).
The symptom you describe sound like what you would see with multi-file torrents
and web server that don't support keep-alive.
It's possible you're seeing something else though. Would it be possible for you
to test with libtorrent-0.16.9? (the 0.15.x series was retired over a year ago).
Original comment by arvid.no...@gmail.com
on 14 Apr 2013 at 5:11
However, the leak you talk of is certainly not a known issue. I'm still
interested in an example torrent to reproduce this with.
Original comment by arvid.no...@gmail.com
on 14 Apr 2013 at 5:17
No, unfortunately it's not that easy reproducible. Deleting and re-adding the
same torrent normally fixes it.
But all my torrents are single file torrents. So it won't have anything to do
with multiple files.
Original comment by Matthias...@googlemail.com
on 14 Apr 2013 at 5:19
You may get a more recent libtorrent by using the following PPA:
https://launchpad.net/~surfernsk/+archive/internet-software
Make sure to install both libtorrent-rasterbar and qBittorrent from that PPA
(Do not mix packages from different PPAs as this will lead to problems).
Original comment by dch...@gmail.com
on 14 Apr 2013 at 5:19
@Arvid: I believe you will find a test torrent at the original bug report:
https://github.com/qbittorrent/qBittorrent/issues/581#issuecomment-16348900
Original comment by dch...@gmail.com
on 14 Apr 2013 at 5:22
Thank you for that link. I searched around a long time this morning to find a
ppa for 12.04 with rastarbar 16.9. Nice :)
That test torrent I created this morning, does not reproduce the bug! That's
the problem, it just happens sometimes...
I still need to concider to downgrade qbittorrent as 3.1 fixes some annoying
bugs of 3.0.9.
Original comment by Matthias...@googlemail.com
on 14 Apr 2013 at 5:23
[deleted comment]
Okay, I downgraded qbit and upgraded libtorrent-rasterbar to package version 7.
I will report if a leak happens again.
Original comment by Matthias...@googlemail.com
on 14 Apr 2013 at 5:47
Original comment by arvid.no...@gmail.com
on 13 Feb 2014 at 2:55
Original issue reported on code.google.com by
Matthias...@googlemail.com
on 14 Apr 2013 at 10:35