introduced an error state for torrents. Torrents with an error are not restarted automatically
This commit is contained in:
@@ -2170,6 +2170,8 @@ It contains the following fields::
|
||||
state_t state;
|
||||
bool paused;
|
||||
float progress;
|
||||
std::string error;
|
||||
|
||||
boost::posix_time::time_duration next_announce;
|
||||
boost::posix_time::time_duration announce_interval;
|
||||
|
||||
@@ -2273,6 +2275,10 @@ When downloading, the progress is ``total_wanted_done`` / ``total_wanted``.
|
||||
|
||||
``paused`` is set to true if the torrent is paused and false otherwise.
|
||||
|
||||
``error`` may be set to an error message describing why the torrent was paused, in
|
||||
case it was paused by an error. If the torrent is not paused or if it's paused but
|
||||
not because of an error, this string is empty.
|
||||
|
||||
``next_announce`` is the time until the torrent will announce itself to the tracker. And
|
||||
``announce_interval`` is the time the tracker want us to wait until we announce ourself
|
||||
again the next time.
|
||||
|
Reference in New Issue
Block a user