merged changes from RC_1_0
This commit is contained in:
parent
2f3e3caf0f
commit
ddb133e055
|
@ -27,6 +27,7 @@
|
||||||
* almost completely changed the storage interface (for custom storage)
|
* almost completely changed the storage interface (for custom storage)
|
||||||
* added support for hashing pieces in multiple threads
|
* added support for hashing pieces in multiple threads
|
||||||
|
|
||||||
|
* anonymous_mode defaults to false
|
||||||
* make DHT DOS detection more forgiving to bursts
|
* make DHT DOS detection more forgiving to bursts
|
||||||
* support IPv6 multicast in local service discovery
|
* support IPv6 multicast in local service discovery
|
||||||
* simplify CAS function in DHT put
|
* simplify CAS function in DHT put
|
||||||
|
|
|
@ -36,7 +36,9 @@ namespace
|
||||||
allow_threading_guard guard;
|
allow_threading_guard guard;
|
||||||
error_code ec;
|
error_code ec;
|
||||||
s.listen_on(std::make_pair(min_, max_), ec, interface, flags);
|
s.listen_on(std::make_pair(min_, max_), ec, interface, flags);
|
||||||
|
#ifndef BOOST_NO_EXCEPTIONS
|
||||||
if (ec) throw libtorrent_exception(ec);
|
if (ec) throw libtorrent_exception(ec);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@ namespace libtorrent
|
||||||
SET(enable_incoming_tcp, true, 0),
|
SET(enable_incoming_tcp, true, 0),
|
||||||
SET(ignore_resume_timestamps, false, 0),
|
SET(ignore_resume_timestamps, false, 0),
|
||||||
SET(no_recheck_incomplete_resume, 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(report_web_seed_downloads, true, &session_impl::update_report_web_seed_downloads),
|
||||||
SET(utp_dynamic_sock_buf, true, 0),
|
SET(utp_dynamic_sock_buf, true, 0),
|
||||||
DEPRECATED_SET(rate_limit_utp, false, &session_impl::update_rate_limit_utp),
|
DEPRECATED_SET(rate_limit_utp, false, &session_impl::update_rate_limit_utp),
|
||||||
|
|
Loading…
Reference in New Issue