merge fixes from RC_0_16

This commit is contained in:
Arvid Norberg 2014-08-07 05:00:29 +00:00
parent 09b7c87814
commit 5e54d13dec
2 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,8 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* suppress initial 'completed' announce to trackers added with replace_trackers
after becoming a seed
* SOCKS4 fix for trying to connect over IPv6
* fix saving resume data when removing all trackers
* fix bug in udp_socket when changing socks5 proxy quickly

View File

@ -5521,7 +5521,10 @@ namespace libtorrent
m_last_working_tracker = -1;
for (std::vector<announce_entry>::iterator i = m_trackers.begin()
, end(m_trackers.end()); i != end; ++i)
{
if (i->source == 0) i->source = announce_entry::source_client;
i->complete_sent = is_seed();
}
if (settings().get_bool(settings_pack::prefer_udp_trackers))
prioritize_udp_trackers();