Hi, this patch fixed the problem for me with bittornado 0.3.18-10 on debian
squeeze (server is bittorrent 3.4.2, debian lenny). The same file torrent (>
50MB) was successfully downloaded with bittorent 3.4.2-11.1ubuntu4.
diff --git a/BT1/Downloader.py b/BT1/Downloader.py
index bf90c49..1964e6f 100644
--- a/BT1/Downloader.py
+++ b/BT1/Downloader.py
@@ -72,7 +72,7 @@ class SingleDownload:
2+int(4*self.measure.get_rate()/self.downloader.chunksize),
(2*just_unchoked)+self.downloader.queue_limit() )
if self.backlog > 50:
- self.backlog = max(50, self.backlog * 0.075)
+ self.backlog = int(max(50, self.backlog * 0.075))
return self.backlog
def disconnected(self):
Bye
Michele
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]