mirror of https://github.com/aria2/aria2
Don't check control file existence if isPreLocalFileCheckEnabled() == false
parent
0bbda43385
commit
b336725ca0
|
@ -234,7 +234,7 @@ SharedHandle<CheckIntegrityEntry> RequestGroup::createCheckIntegrityEntry()
|
||||||
// infoFile exists.
|
// infoFile exists.
|
||||||
loadAndOpenFile(infoFile);
|
loadAndOpenFile(infoFile);
|
||||||
checkEntry.reset(new StreamCheckIntegrityEntry(this));
|
checkEntry.reset(new StreamCheckIntegrityEntry(this));
|
||||||
} else if(infoFile->exists()) {
|
} else if(isPreLocalFileCheckEnabled() && infoFile->exists()) {
|
||||||
loadAndOpenFile(infoFile);
|
loadAndOpenFile(infoFile);
|
||||||
if(downloadFinished()) {
|
if(downloadFinished()) {
|
||||||
#ifdef ENABLE_MESSAGE_DIGEST
|
#ifdef ENABLE_MESSAGE_DIGEST
|
||||||
|
|
Loading…
Reference in New Issue