fixed issue where web peers would be connected before files were checked
This commit is contained in:
parent
fbc6910335
commit
658b7309d3
|
@ -32,6 +32,8 @@ release 0.14.3
|
||||||
|
|
||||||
* added python binding for create_torrent
|
* added python binding for create_torrent
|
||||||
* fixed boost-1.38 build
|
* fixed boost-1.38 build
|
||||||
|
* fixed bug where web seeds would be connected before the files
|
||||||
|
were checked
|
||||||
|
|
||||||
release 0.14.2
|
release 0.14.2
|
||||||
|
|
||||||
|
|
|
@ -4674,7 +4674,7 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we have everything we want we don't need to connect to any web-seed
|
// if we have everything we want we don't need to connect to any web-seed
|
||||||
if (!is_finished() && !m_web_seeds.empty())
|
if (!is_finished() && !m_web_seeds.empty() && m_files_checked)
|
||||||
{
|
{
|
||||||
// keep trying web-seeds if there are any
|
// keep trying web-seeds if there are any
|
||||||
// first find out which web seeds we are connected to
|
// first find out which web seeds we are connected to
|
||||||
|
|
Loading…
Reference in New Issue