r192 - /debtorrent/trunk/DebTorrent/BT1/NatCheck.py

camrdale-guest at users.alioth.debian.org camrdale-guest at users.alioth.debian.org
Mon Jul 30 17:16:01 UTC 2007


Author: camrdale-guest
Date: Mon Jul 30 17:16:01 2007
New Revision: 192

URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=192
Log:
Fix a small bittornado bug in the tracker NAT checking.

Modified:
    debtorrent/trunk/DebTorrent/BT1/NatCheck.py

Modified: debtorrent/trunk/DebTorrent/BT1/NatCheck.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/NatCheck.py?rev=192&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/NatCheck.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/NatCheck.py Mon Jul 30 17:16:01 2007
@@ -428,9 +428,6 @@
             self.next_len, self.next_func = x
             if self.next_len < 0:  # already checked buffer
                 return             # wait for additional data
-            if self.bufferlen is not None:
-                self._read2('')
-                return
 
     def connection_lost(self, connection):
         """Close the connection and return the failure.




More information about the Debtorrent-commits mailing list