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
pull/1/head
Tatsuhiro Tsujikawa 2010-03-28 15:02:36 +00:00
parent 65389139c6
commit d88f7cd0a4
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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;