fix to previous parole fix

This commit is contained in:
Arvid Norberg 2008-07-11 09:25:03 +00:00
parent 589e098002
commit 535aaf8182
1 changed files with 5 additions and 1 deletions

View File

@ -2815,7 +2815,11 @@ namespace libtorrent
}
m_desired_queue_size = 1;
if (on_parole()) return;
if (on_parole())
{
m_timeout_extend += m_ses.settings().request_timeout;
return;
}
if (!t->has_picker()) return;
piece_picker& picker = t->picker();