* Set the hash failed flag before DownloadList::hash_clear closes the

torrent, so the hashing queue doesn't re-open it.

* Randomized the starting position in chunk selector.

* Added man page entry for send/receive buffer size.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@689 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-05-15 17:55:11 +00:00
parent d4706da4d5
commit ba4a1927ff
3 changed files with 20 additions and 0 deletions
+3
View File
@@ -385,6 +385,9 @@ Manager::receive_hashing_changed() {
if ((*itr)->is_hash_checked())
throw torrent::client_error("core::Manager::receive_hashing_changed() hash already checked.");
if ((*itr)->is_hash_failed())
continue;
m_downloadList->open_throw(*itr);
(*itr)->download()->hash_check();