From 81ce2e789052c29aff199f7a0fff7c2ed6fe1a51 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 24 Nov 2007 04:19:21 +0000 Subject: [PATCH] reverted [1760] and added documentation for downloading_metadata --- docs/manual.rst | 4 ++++ include/libtorrent/torrent_handle.hpp | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/manual.rst b/docs/manual.rst index 21613edf7..6d4359b5d 100644 --- a/docs/manual.rst +++ b/docs/manual.rst @@ -1940,6 +1940,7 @@ It contains the following fields:: queued_for_checking, checking_files, connecting_to_tracker, + downloading_metadata, downloading, finished, seeding, @@ -2009,6 +2010,9 @@ current task is in the ``state`` member, it will be one of the following: |``connecting_to_tracker`` |The torrent has sent a request to the tracker and is | | |currently waiting for a response | +--------------------------+----------------------------------------------------------+ +|``downloading_metadata`` |The torrent is trying to download metadata from peers. | +| |This assumes the metadata_transfer extension is in use. | ++--------------------------+----------------------------------------------------------+ |``downloading`` |The torrent is being downloaded. This is the state | | |most torrents will be in most of the time. The progress | | |meter will tell how much of the files that has been | diff --git a/include/libtorrent/torrent_handle.hpp b/include/libtorrent/torrent_handle.hpp index a6ae8b7ee..48a17e2ec 100755 --- a/include/libtorrent/torrent_handle.hpp +++ b/include/libtorrent/torrent_handle.hpp @@ -119,6 +119,7 @@ namespace libtorrent queued_for_checking, checking_files, connecting_to_tracker, + downloading_metadata, downloading, finished, seeding,