From d14dca10e13305e46c99ab996ef046eaa9a25f0e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 25 Oct 2013 23:44:08 -0200 Subject: [PATCH] disable libtorrent read cache cause i've messed up something --- src/twister.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/twister.cpp b/src/twister.cpp index 03fa8d56..9ca6f429 100644 --- a/src/twister.cpp +++ b/src/twister.cpp @@ -206,6 +206,9 @@ void ThreadWaitExtIP() //settings.dht_announce_interval = 60; // test //settings.min_announce_interval = 60; // test settings.anonymous_mode = false; // (false => send peer_id, avoid connecting to itself) + // disable read cache => there is still some bug due to twister piece size changes + settings.use_read_cache = false; + settings.cache_size = 0; ses->set_settings(settings); printf("libtorrent + dht started\n");