fixed piece_picker to not pick blocks from a piece with priority 0 when there already are requests to the piece
This commit is contained in:
@@ -1517,6 +1517,7 @@ namespace libtorrent
|
||||
, end(m_downloads.end()); i != end; ++i)
|
||||
{
|
||||
if (!pieces[i->index]) continue;
|
||||
if (piece_priority(i->index) == 0) continue;
|
||||
|
||||
int num_blocks_in_piece = blocks_in_piece(i->index);
|
||||
|
||||
|
Reference in New Issue
Block a user