save resume data when removing web seeds

This commit is contained in:
arvidn 2017-05-07 20:52:40 -04:00 committed by Arvid Norberg
parent b3815c5533
commit bfa455c5bd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
* save resume data when removing web seeds
* fix proxying of https connections
* fix race condition in disk I/O storage class
* fix http connection timeout on multi-homed hosts

View File

@ -11344,7 +11344,11 @@ namespace libtorrent
, (boost::bind(&web_seed_t::url, _1)
== url && boost::bind(&web_seed_t::type, _1) == type));
if (i != m_web_seeds.end()) remove_web_seed(i);
if (i != m_web_seeds.end())
{
remove_web_seed(i);
set_need_save_resume();
}
}
void torrent::disconnect_web_seed(peer_connection* p)