post read_piece messages as a result of set_piece_deadline if a piece is found during checking

This commit is contained in:
Arvid Norberg 2010-02-06 07:31:43 +00:00
parent 51c544c6bb
commit bb9426b97c
1 changed files with 2 additions and 0 deletions

View File

@ -1140,6 +1140,8 @@ namespace libtorrent
if (j.offset >= 0 && !m_picker->have_piece(j.offset))
we_have(j.offset);
remove_time_critical_piece(j.piece);
// we're not done checking yet
// this handler will be called repeatedly until
// we're done, or encounter a failure