diff --git a/src/piece_picker.cpp b/src/piece_picker.cpp index 17efcac21..d326b43bb 100755 --- a/src/piece_picker.cpp +++ b/src/piece_picker.cpp @@ -1233,6 +1233,9 @@ namespace libtorrent // skip it if (!pieces[*i]) continue; + // skip the piece is the priority is 0 + if (m_piece_map[*i].priority(m_sequenced_download_threshold) == 0) continue; + int num_blocks_in_piece = blocks_in_piece(*i); if (m_piece_map[*i].downloading == 1)