* A seperate variable for hashing state, now properly restarts hashing

after restart.

* Stop a torrent and show a message when it finishes the final
hash-check and finds some chunks incomplete. This prevents full disk
from causing a torrent to go into an infinit loop of re-downloading
the data.

* Moved various slots from core::Manager to core::DownloadList.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@679 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-05-01 18:53:21 +00:00
parent fff7838f13
commit 2b420e95a0
17 changed files with 239 additions and 105 deletions
-11
View File
@@ -198,15 +198,4 @@ VariableMap::process_file(const std::string& path) {
return true;
}
void
VariableMap::process_file_throw(const std::string& path) {
if (!process_file(path))
throw torrent::input_error("Could not open option file: " + path);
}
void
VariableMap::process_file_nothrow(const std::string& path) {
process_file(path);
}
}