Added 'd.tracker.send_scrape = <seconds_to_request>' command for sending scrape requests to all trackers that support it.

Newly inserted downloads send scrape requests after 30 seconds.
This commit is contained in:
Jari Sundell
2011-11-08 00:45:11 +09:00
parent f4c3758dcd
commit 00a42357d0
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -60,6 +60,7 @@ public:
typedef torrent::FileList file_list_type;
typedef torrent::PeerList peer_list_type;
typedef torrent::TrackerList tracker_list_type;
typedef torrent::TrackerController tracker_controller_type;
typedef torrent::ConnectionList connection_list_type;
typedef download_type::ConnectionType connection_type;
@@ -105,6 +106,8 @@ public:
tracker_list_type* tracker_list() { return m_download.tracker_list(); }
uint32_t tracker_list_size() const { return m_download.tracker_list()->size(); }
tracker_controller_type* tracker_controller() { return m_download.tracker_controller(); }
connection_list_type* connection_list() { return m_download.connection_list(); }
uint32_t connection_list_size() const;