mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* Minor fixes before release.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@740 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user