mirror of https://github.com/aria2/aria2
2010-10-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that file allocation is enabled in HTTP even if --file-allocation=none is specified. * src/HttpResponseCommand.ccpull/1/head
parent
d8d0c21c4d
commit
6b74a27586
|
@ -1,3 +1,9 @@
|
|||
2010-10-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed the bug that file allocation is enabled in HTTP even if
|
||||
--file-allocation=none is specified.
|
||||
* src/HttpResponseCommand.cc
|
||||
|
||||
2010-10-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Release 1.10.4
|
||||
|
|
|
@ -478,7 +478,10 @@ HttpDownloadCommand* HttpResponseCommand::createHttpDownloadCommand
|
|||
command->setLowestDownloadSpeedLimit
|
||||
(getOption()->getAsInt(PREF_LOWEST_SPEED_LIMIT));
|
||||
command->installStreamFilter(filter);
|
||||
getRequestGroup()->setFileAllocationEnabled(decideFileAllocation(filter));
|
||||
if(getRequestGroup()->isFileAllocationEnabled() &&
|
||||
!decideFileAllocation(filter)) {
|
||||
getRequestGroup()->setFileAllocationEnabled(false);
|
||||
}
|
||||
getRequestGroup()->getURISelector()->tuneDownloadCommand
|
||||
(getFileEntry()->getRemainingUris(), command);
|
||||
|
||||
|
|
Loading…
Reference in New Issue