diff --git a/include/libtorrent/torrent.hpp b/include/libtorrent/torrent.hpp index 2c9639363..00faf1c6b 100644 --- a/include/libtorrent/torrent.hpp +++ b/include/libtorrent/torrent.hpp @@ -1481,10 +1481,11 @@ namespace libtorrent // its value until the piece picker is created bool m_sequential_download:1; - // is false by default and set to - // true when the first tracker reponse - // is received - bool m_got_tracker_response:1; + // this is set if the auto_sequential setting is true and this swarm + // satisfies the criteria to be considered high-availability. i.e. if + // there's mostly seeds in the swarm, download the files sequentially + // for improved disk I/O performance. + bool m_auto_sequential:1; // this means we haven't verified the file content // of the files we're seeding. the m_verified bitfield @@ -1561,11 +1562,11 @@ namespace libtorrent // set to true if the session IP filter applies to this // torrent or not. Defaults to true. bool m_apply_ip_filter:1; - + // if set to true, add tracker URLs loaded from resume // data into this torrent instead of replacing them bool m_merge_resume_trackers:1; - + // ---- // the number of bytes of padding files @@ -1663,12 +1664,6 @@ namespace libtorrent // at high enough rates, it's inactive. bool m_inactive:1; - // this is set if the auto_sequential setting is true and this swarm - // satisfies the criteria to be considered high-availability. i.e. if - // there's mostly seeds in the swarm, download the files sequentially - // for improved disk I/O performance. - bool m_auto_sequential:1; - // ---- // the scrape data from the tracker response, this diff --git a/src/torrent.cpp b/src/torrent.cpp index 17c3c5fdd..fa35d0c4b 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -234,7 +234,7 @@ namespace libtorrent , m_last_working_tracker(-1) , m_finished_time(0) , m_sequential_download(false) - , m_got_tracker_response(false) + , m_auto_sequential(false) , m_seed_mode(false) , m_super_seeding(false) , m_override_resume_data((p.flags & add_torrent_params::flag_override_resume_data) != 0) @@ -274,7 +274,6 @@ namespace libtorrent , m_current_gauge_state(no_gauge_state) , m_moving_storage(false) , m_inactive(false) - , m_auto_sequential(false) , m_downloaded(0xffffff) , m_last_scrape((std::numeric_limits::min)()) , m_progress_ppm(0) @@ -3565,7 +3564,6 @@ namespace libtorrent #endif , r.url); } - m_got_tracker_response = true; // we're listening on an interface type that was not used // when talking to the tracker. If there is a matching interface