experimental support for filtering pieces (filter from downloading that is)

This commit is contained in:
Arvid Norberg
2005-05-25 10:01:01 +00:00
parent 9707b6aeb0
commit 2fabb2bf80
17 changed files with 376 additions and 211 deletions

View File

@@ -501,9 +501,7 @@ namespace libtorrent
tracker_connections_t keep_connections;
for (tracker_connections_t::const_iterator i =
m_connections.begin();
i != m_connections.end();
++i)
m_connections.begin(); i != m_connections.end(); ++i)
{
if (!(*i)->has_requester()) keep_connections.push_back(*i);
}