fix issue where if the last requested blocks are rejected, we may not have been requesting any new blocks

This commit is contained in:
arvidn 2020-01-31 08:39:05 +01:00 committed by Arvid Norberg
parent bc6444a251
commit acbd1c3d4c
1 changed files with 2 additions and 1 deletions

View File

@ -1604,8 +1604,9 @@ namespace libtorrent {
{
if (request_a_block(*t, *this))
m_counters.inc_stats_counter(counters::reject_piece_picks);
send_block_requests();
}
send_block_requests();
}
// -----------------------------