forked from premiere/premiere-libtorrent
restored the faster connection behavior
This commit is contained in:
parent
77c141fd6d
commit
56a4b8412a
|
@ -724,8 +724,8 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_torrent->want_more_peers())
|
while (m_torrent->want_more_peers())
|
||||||
connect_one_peer();
|
if (!connect_one_peer()) break;
|
||||||
|
|
||||||
// ------------------------
|
// ------------------------
|
||||||
// upload shift
|
// upload shift
|
||||||
|
|
|
@ -609,6 +609,7 @@ namespace libtorrent
|
||||||
bind(&torrent::on_peer_name_lookup, shared_from_this(), _1, _2, i->pid)));
|
bind(&torrent::on_peer_name_lookup, shared_from_this(), _1, _2, i->pid)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
m_policy->pulse();
|
||||||
|
|
||||||
if (m_ses.m_alerts.should_post(alert::info))
|
if (m_ses.m_alerts.should_post(alert::info))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue