From 5af8b7c0e2a6b54367d2fc7187ed05ff4b131572 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 28 Nov 2009 10:36:34 +0000 Subject: [PATCH] FEATURE: Enabled lazy bitfield as a counter-measure for ISP speed throttling --- Changelog | 1 + src/bittorrent.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index 5ec7cca09..309d59606 100644 --- a/Changelog +++ b/Changelog @@ -22,6 +22,7 @@ - FEATURE: Display close tab button into the tabs in search engine (Qt >= 4.5 only) - FEATURE: Show official documentation when pressing F1 key - FEATURE: Search engine plugins now handle HTTP protocol gzip compression + - FEATURE: Enabled lazy bitfield as a counter-measure for ISP speed throttling - FEATURE: Announce to all trackers specified for a torrent (µTorrent behavior) (libtorrent >= v0.15 only) - FEATURE: Added per-torrent super seeding mode (libtorrent >= v0.15 only) - FEATURE: Support for storing symbolic links in .torrent files (libtorrent >= v0.15 only) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index c0a0e45fe..1b14f5022 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -291,6 +291,8 @@ void Bittorrent::configureSession() { } sessionSettings.upnp_ignore_nonrouters = true; sessionSettings.use_dht_as_fallback = false; + // To prevent ISPs from blocking seeding + sessionSettings.lazy_bitfields = true; //sessionSettings.announce_to_all_trackers = true; #ifdef LIBTORRENT_0_15 sessionSettings.announce_to_all_tiers = true; //uTorrent behavior