From 67e536d8698cbbe15ce9e4045a1cf8f2cd20f305 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 12 Jan 2022 11:53:07 +0800 Subject: [PATCH] Update default value of "Type of service for peers" Upstream change: https://github.com/arvidn/libtorrent/commit/3d701c7380a6cf24f947c0a7eecd74356812c1b8 PR #16036. --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 56dff5085..72a198566 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -343,7 +343,7 @@ Session::Session(QObject *parent) , m_outgoingPortsMin(BITTORRENT_SESSION_KEY("OutgoingPortsMin"), 0) , m_outgoingPortsMax(BITTORRENT_SESSION_KEY("OutgoingPortsMax"), 0) , m_UPnPLeaseDuration(BITTORRENT_SESSION_KEY("UPnPLeaseDuration"), 0) - , m_peerToS(BITTORRENT_SESSION_KEY("PeerToS"), 0x20) + , m_peerToS(BITTORRENT_SESSION_KEY("PeerToS"), 0x04) , m_ignoreLimitsOnLAN(BITTORRENT_SESSION_KEY("IgnoreLimitsOnLAN"), false) , m_includeOverheadInLimits(BITTORRENT_SESSION_KEY("IncludeOverheadInLimits"), false) , m_announceIP(BITTORRENT_SESSION_KEY("AnnounceIP"))