forked from premiere/premiere-libtorrent
Merge pull request #465 from arvidn/got-tracker-1.1
removed unused field in torrent
This commit is contained in:
commit
7b1a8ff6f1
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -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<boost::int16_t>::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
|
||||
|
|
Loading…
Reference in New Issue