mirror of https://github.com/aria2/aria2
2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Pool request when download finished. * src/DownloadCommand.ccpull/1/head
parent
2cb0c8e69d
commit
5fb7197a08
|
@ -1,3 +1,8 @@
|
|||
2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Pool request when download finished.
|
||||
* src/DownloadCommand.cc
|
||||
|
||||
2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Made 'fileIndex' parameter in aria2.changeUri XML-RPC method
|
||||
|
|
|
@ -269,6 +269,8 @@ void DownloadCommand::checkLowestDownloadSpeed() const
|
|||
|
||||
bool DownloadCommand::prepareForNextSegment() {
|
||||
if(_requestGroup->downloadFinished()) {
|
||||
// Remove in-flight request here.
|
||||
_fileEntry->poolRequest(req);
|
||||
// If this is a single file download, and file size becomes known
|
||||
// just after downloading, set total length to FileEntry object
|
||||
// here.
|
||||
|
|
Loading…
Reference in New Issue