mirror of
https://github.com/aria2/aria2.git
synced 2025-04-07 06:27:37 +03:00
2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added --allow-piece-length-change option. * src/DefaultBtProgressInfoFile.cc * test/DefaultBtProgressInfoFileTest.cc * src/OptionHandlerFactory.cc * src/option_processing.cc * src/prefs.h * src/version_usage.cc * doc/aria2c.1.txt * doc/aria2c.1 Fixed: duplicated result entry appears when exception is thrown in RequestGroup::createInitiateConnectionCommand(). * src/RequestGroupMan.cc (fillRequestGroupFromReserver): Add RequestGroup to _requestGroup after RequetGroup:: createInitiateConnectionCommand() succeeds. Externalized message * src/XML2SAXMetalinkProcessor.cc * src/message.h
This commit is contained in:
parent
ed3ebb7c22
commit
24bdbf9aa6
12 changed files with 66 additions and 9 deletions
|
@ -169,6 +169,7 @@ void DefaultBtProgressInfoFileTest::testLoad_nonBt()
|
|||
void DefaultBtProgressInfoFileTest::testLoad_nonBt_pieceLengthShorter()
|
||||
{
|
||||
initializeMembers(512, 81920);
|
||||
_option->put(PREF_ALLOW_PIECE_LENGTH_CHANGE, V_TRUE);
|
||||
|
||||
SingleFileDownloadContextHandle dctx =
|
||||
new SingleFileDownloadContext(512, 81920, "load-nonBt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue