mirror of https://github.com/aria2/aria2
2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that added URI using aria2.changeUri XML-RPC method is not used immediately if there is no URIs remaining before calling aria2.changeUri and the number of connection is less than the value in -s(or -C for Metalink downloads). * src/XmlRpcMethodImpl.ccpull/1/head
parent
65389139c6
commit
d88f7cd0a4
|
@ -1,3 +1,11 @@
|
|||
2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed the bug that added URI using aria2.changeUri XML-RPC method
|
||||
is not used immediately if there is no URIs remaining before
|
||||
calling aria2.changeUri and the number of connection is less than
|
||||
the value in -s(or -C for Metalink downloads).
|
||||
* src/XmlRpcMethodImpl.cc
|
||||
|
||||
2010-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Documented --always-resume and --max-resume-failure-tries option
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
#include "array_fun.h"
|
||||
#include "XmlRpcMethodFactory.h"
|
||||
#include "XmlRpcResponse.h"
|
||||
#include "SegmentMan.h"
|
||||
#ifdef ENABLE_BITTORRENT
|
||||
# include "bittorrent_helper.h"
|
||||
# include "BtRegistry.h"
|
||||
|
@ -999,6 +1000,7 @@ BDE ChangeUriXmlRpcMethod::process
|
|||
std::vector<Command*> commands;
|
||||
group->createNextCommand(commands, e);
|
||||
e->addCommand(commands);
|
||||
group->getSegmentMan()->recognizeSegmentFor(s);
|
||||
}
|
||||
BDE res = BDE::list();
|
||||
res << delcount;
|
||||
|
|
Loading…
Reference in New Issue