we can send requests when we're choked (for allowed fast pieces)
This commit is contained in:
parent
0de21dc815
commit
f07ff08dd2
|
@ -2453,7 +2453,6 @@ namespace libtorrent
|
||||||
boost::shared_ptr<torrent> t = m_torrent.lock();
|
boost::shared_ptr<torrent> t = m_torrent.lock();
|
||||||
TORRENT_ASSERT(t);
|
TORRENT_ASSERT(t);
|
||||||
|
|
||||||
if (has_peer_choked()) return;
|
|
||||||
if ((int)m_download_queue.size() >= m_desired_queue_size) return;
|
if ((int)m_download_queue.size() >= m_desired_queue_size) return;
|
||||||
|
|
||||||
bool empty_download_queue = m_download_queue.empty();
|
bool empty_download_queue = m_download_queue.empty();
|
||||||
|
|
Loading…
Reference in New Issue