From bb9426b97c1ca32e07cecb67b33b469f8ebf5359 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 6 Feb 2010 07:31:43 +0000 Subject: [PATCH] post read_piece messages as a result of set_piece_deadline if a piece is found during checking --- src/torrent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index f4e87350c..2dbab9e79 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -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