]> git.mxchange.org Git - quix0rs-apt-p2p.git/commit
Always download max PIECE_SIZE from peers, even if there's only one peer.
authorCameron Dale <camrdale@gmail.com>
Mon, 14 Apr 2008 01:02:39 +0000 (18:02 -0700)
committerCameron Dale <camrdale@gmail.com>
Mon, 14 Apr 2008 01:02:39 +0000 (18:02 -0700)
commitd65239f77bc6c4d9f02de88a4eec71254f7e6936
treeff737da0924ff77c002b75c93923e6aeb383d57a
parentbb608b26926f9a1db5f4c8583ed7a37e6f5a6b25
Always download max PIECE_SIZE from peers, even if there's only one peer.

Used to avoid ticket #1993 in Twisted:
http://twistedmatrix.com/trac/ticket/1993
apt_p2p/PeerManager.py