fixed piece picker problem when a downloading piece could not be picked with the right speed category
This commit is contained in:
@@ -284,6 +284,8 @@ namespace libtorrent
|
||||
for (std::vector<piece_block>::iterator i = interesting_pieces.begin();
|
||||
i != interesting_pieces.end(); ++i)
|
||||
{
|
||||
if (prefer_whole_pieces == 0 && num_requests <= 0) break;
|
||||
|
||||
if (p.is_requested(*i))
|
||||
{
|
||||
if (num_requests <= 0) break;
|
||||
|
Reference in New Issue
Block a user