when evicting peers waiting to establish connection, evict the ones that have been trying for the longest first
This commit is contained in:
@@ -3983,7 +3983,6 @@ namespace libtorrent
|
||||
boost::shared_ptr<torrent> t = m_torrent.lock();
|
||||
assert(t);
|
||||
|
||||
// TODO: we should probably just send a HAVE_ALL here
|
||||
for (int i = 0; i < int(m_have_piece.size()); ++i)
|
||||
{
|
||||
if (m_have_piece[i] || !t->have_piece(i)) continue;
|
||||
|
Reference in New Issue
Block a user