r400 - in /debtorrent/trunk: DebTorrent/BT1/HTTPDownloader.py debian/changelog

camrdale-guest at users.alioth.debian.org camrdale-guest at users.alioth.debian.org
Sat Jul 19 23:52:10 UTC 2008


Author: camrdale-guest
Date: Sat Jul 19 23:52:10 2008
New Revision: 400

URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=400
Log:
Use the HTTP downloads from the mirror in parallel with peers.

Modified:
    debtorrent/trunk/DebTorrent/BT1/HTTPDownloader.py
    debtorrent/trunk/debian/changelog

Modified: debtorrent/trunk/DebTorrent/BT1/HTTPDownloader.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/HTTPDownloader.py?rev=400&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/HTTPDownloader.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/HTTPDownloader.py Sat Jul 19 23:52:10 2008
@@ -180,8 +180,8 @@
         """
 
         # Only use HTTP to download pieces not found in peers
-        if self.downloader.picker.numhaves[index] > 0:
-            return False
+        #if self.downloader.picker.numhaves[index] > 0:
+        #    return False
 
         if self.endflag:
             return self.downloader.storage.do_I_have_requests(index)

Modified: debtorrent/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/debian/changelog?rev=400&op=diff
==============================================================================
--- debtorrent/trunk/debian/changelog (original)
+++ debtorrent/trunk/debian/changelog Sat Jul 19 23:52:10 2008
@@ -2,8 +2,9 @@
 
   * Fix download/upload stats are correct after restarting torrents,
     thanks to Steve Cotton for the fix (Closes: #487829)
+  * Use the HTTP downloads from the mirror in parallel with peers.
 
- -- Cameron Dale <camrdale at gmail.com>  Sat, 05 Jul 2008 13:22:29 -0700
+ -- Cameron Dale <camrdale at gmail.com>  Sat, 19 Jul 2008 16:51:45 -0700
 
 debtorrent (0.1.8) unstable; urgency=low
 




More information about the Debtorrent-commits mailing list