From 535aaf8182e7af3c40b03a7789c6ae368ade1043 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 11 Jul 2008 09:25:03 +0000 Subject: [PATCH] fix to previous parole fix --- src/peer_connection.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 51314bcae..5568ca61c 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -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();