From ff106f8c9e1ee4c63b16345ffa0bab6ba2a25a3d Mon Sep 17 00:00:00 2001 From: arvidn Date: Sat, 25 Feb 2017 12:16:44 -0500 Subject: [PATCH] default TOS marking to 0x20 --- ChangeLog | 1 + src/settings_pack.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 223d820ef..a17b19d93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 1.1.2 release + * default TOS marking to 0x20 * fix invalid access when leaving seed-mode with outstanding hash jobs * fix ABI compatibility issue introduced with preformatted entry type * add web_seed_name_lookup_retry to session_settings diff --git a/src/settings_pack.cpp b/src/settings_pack.cpp index c7be06e92..a51419dfb 100644 --- a/src/settings_pack.cpp +++ b/src/settings_pack.cpp @@ -262,7 +262,7 @@ namespace libtorrent SET(disk_io_read_mode, settings_pack::enable_os_cache, 0), SET(outgoing_port, 0, 0), SET(num_outgoing_ports, 0, 0), - SET(peer_tos, 0, &session_impl::update_peer_tos), + SET(peer_tos, 0x20, &session_impl::update_peer_tos), SET(active_downloads, 3, &session_impl::trigger_auto_manage), SET(active_seeds, 5, &session_impl::trigger_auto_manage), SET_NOPREV(active_checking, 1, &session_impl::trigger_auto_manage),