mirror of https://github.com/aria2/aria2
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that hash check hangs when aria2.pause is issued while aria2 is checking piece hashes. Fixed the bug that the download is paused after file allocation completion even if aria2.pause is issued during file allocation. * src/CheckIntegrityCommand.cc * src/FileAllocationCommand.ccpull/1/head
parent
6e9a25798c
commit
70664af0ad
|
@ -1,3 +1,12 @@
|
||||||
|
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Fixed the bug that hash check hangs when aria2.pause is issued
|
||||||
|
while aria2 is checking piece hashes. Fixed the bug that the
|
||||||
|
download is paused after file allocation completion even if
|
||||||
|
aria2.pause is issued during file allocation.
|
||||||
|
* src/CheckIntegrityCommand.cc
|
||||||
|
* src/FileAllocationCommand.cc
|
||||||
|
|
||||||
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Added nsl to search-libs for getaddrinfo on opensolaris
|
Added nsl to search-libs for getaddrinfo on opensolaris
|
||||||
|
|
|
@ -58,6 +58,7 @@ CheckIntegrityCommand::~CheckIntegrityCommand() {}
|
||||||
bool CheckIntegrityCommand::executeInternal()
|
bool CheckIntegrityCommand::executeInternal()
|
||||||
{
|
{
|
||||||
if(_requestGroup->isHaltRequested()) {
|
if(_requestGroup->isHaltRequested()) {
|
||||||
|
_e->_checkIntegrityMan->dropPickedEntry();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
_entry->validateChunk();
|
_entry->validateChunk();
|
||||||
|
|
|
@ -59,7 +59,8 @@ FileAllocationCommand::~FileAllocationCommand() {}
|
||||||
|
|
||||||
bool FileAllocationCommand::executeInternal()
|
bool FileAllocationCommand::executeInternal()
|
||||||
{
|
{
|
||||||
if(_e->isHaltRequested()) {
|
if(_requestGroup->isHaltRequested()) {
|
||||||
|
_e->_fileAllocationMan->dropPickedEntry();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
_fileAllocationEntry->allocateChunk();
|
_fileAllocationEntry->allocateChunk();
|
||||||
|
|
Loading…
Reference in New Issue