From c55bd0d1d47be42ee9c6fad45d635b8e0619f5bf Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 8 Apr 2013 02:55:07 +0000 Subject: [PATCH] merged piece request fix from RC_0_16 --- ChangeLog | 1 + src/peer_connection.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 38a7ac669..6e0d8de0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ * fix uTP edge case where udp socket buffer fills up * fix nagle implementation in uTP + * fix piece picking edge case that could cause torrents to get stuck at hash failure * try unencrypted connections first, and fall back to encryption if it fails (performance improvement) * add missing functions to python binding (flush_cache(), remap_files() and orig_files()) * improve handling of filenames that are invalid on windows diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index bf84f57ff..b7fbdf598 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -4055,6 +4055,7 @@ namespace libtorrent m_last_request = now; request_a_block(*t, *this); if (m_disconnecting) return; + send_block_requests(); } on_tick();