mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 19:22:29 +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:
@@ -15,6 +15,7 @@ EXTRA_DIST= \
|
||||
rak/partial_queue.h \
|
||||
rak/priority_queue.h \
|
||||
rak/priority_queue_default.h \
|
||||
rak/ranges.h \
|
||||
rak/regex.h \
|
||||
rak/socket_address.h \
|
||||
rak/string_manip.h \
|
||||
|
||||
@@ -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