* Minor fixes before release.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@740 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-07-08 22:04:12 +00:00
parent 52bf80d704
commit e8a8fc7e1a
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -184,6 +184,9 @@ DownloadFactory::receive_success() {
if (!control->variable()->get_value("max_chunks_queued") != 0)
download->variable()->set("max_chunks_queued", control->variable()->get("max_chunks_queued"));
else
// Temporary until we fix the library.
download->variable()->set("max_chunks_queued", (512 << 20) / download->download()->chunks_size());
if (!control->variable()->get_value("use_udp_trackers"))
download->enable_udp_trackers(false);