forked from premiere/premiere-libtorrent
save resume data when removing web seeds
This commit is contained in:
parent
b3815c5533
commit
bfa455c5bd
|
@ -1,3 +1,4 @@
|
||||||
|
* save resume data when removing web seeds
|
||||||
* fix proxying of https connections
|
* fix proxying of https connections
|
||||||
* fix race condition in disk I/O storage class
|
* fix race condition in disk I/O storage class
|
||||||
* fix http connection timeout on multi-homed hosts
|
* fix http connection timeout on multi-homed hosts
|
||||||
|
|
|
@ -11344,7 +11344,11 @@ namespace libtorrent
|
||||||
, (boost::bind(&web_seed_t::url, _1)
|
, (boost::bind(&web_seed_t::url, _1)
|
||||||
== url && boost::bind(&web_seed_t::type, _1) == type));
|
== 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)
|
void torrent::disconnect_web_seed(peer_connection* p)
|
||||||
|
|
Loading…
Reference in New Issue