merged changes from RC_1_0

This commit is contained in:
Arvid Norberg 2014-08-31 21:17:32 +00:00
parent 2f3e3caf0f
commit ddb133e055
3 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,7 @@
* almost completely changed the storage interface (for custom storage)
* added support for hashing pieces in multiple threads
* anonymous_mode defaults to false
* make DHT DOS detection more forgiving to bursts
* support IPv6 multicast in local service discovery
* simplify CAS function in DHT put

View File

@ -36,7 +36,9 @@ namespace
allow_threading_guard guard;
error_code ec;
s.listen_on(std::make_pair(min_, max_), ec, interface, flags);
#ifndef BOOST_NO_EXCEPTIONS
if (ec) throw libtorrent_exception(ec);
#endif
}
#endif

View File

@ -171,7 +171,7 @@ namespace libtorrent
SET(enable_incoming_tcp, true, 0),
SET(ignore_resume_timestamps, false, 0),
SET(no_recheck_incomplete_resume, false, 0),
SET(anonymous_mode, true, &session_impl::update_anonymous_mode),
SET(anonymous_mode, false, &session_impl::update_anonymous_mode),
SET(report_web_seed_downloads, true, &session_impl::update_report_web_seed_downloads),
SET(utp_dynamic_sock_buf, true, 0),
DEPRECATED_SET(rate_limit_utp, false, &session_impl::update_rate_limit_utp),