forked from premiere/premiere-libtorrent
don't restart the swarm after downloading metadata from magnet links
This commit is contained in:
parent
b58bab637c
commit
d5ef64ddb2
|
@ -1,6 +1,7 @@
|
|||
|
||||
0.16 release
|
||||
|
||||
* don't restart the swarm after downloading metadata from magnet links
|
||||
* lower the default tracker retry intervals
|
||||
* support banning web seeds sending corrupt data
|
||||
* don't let hung outgoing connection attempts block incoming connections
|
||||
|
|
|
@ -6133,12 +6133,15 @@ namespace libtorrent
|
|||
|
||||
// calling pause will also trigger the auto managed
|
||||
// recalculation
|
||||
if (m_auto_managed) pause();
|
||||
|
||||
// if we just got here by downloading the metadata,
|
||||
// just keep going, no need to disconnect all peers just
|
||||
// to restart the torrent in a second
|
||||
if (m_auto_managed)
|
||||
{
|
||||
// if this is an auto managed torrent, force a recalculation
|
||||
// of which torrents to have active
|
||||
if (m_auto_managed)
|
||||
m_ses.m_auto_manage_time_scaler = 2;
|
||||
}
|
||||
|
||||
if (!is_seed())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue