We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984a65a commit 9aa9a18Copy full SHA for 9aa9a18
QCloudCOSXML/Classes/Transfer/request/QCloudCOSXMLDownloadObjectRequest.m
@@ -346,7 +346,9 @@ - (void)startGetObject {
346
}
347
348
if(error){
349
- [self calculateCrc64:self.downloadingTempURL fileSize:currentTotalBytesDownload + strongSelf.localCacheDownloadOffset];
+ if (self.enablePartCrc64) {
350
+ [self calculateCrc64:self.downloadingTempURL fileSize:currentTotalBytesDownload + strongSelf.localCacheDownloadOffset];
351
+ }
352
NSMutableArray *tasks = [dic[@"downloadedBlocks"] mutableCopy];
353
if(!tasks){
354
tasks = [NSMutableArray array];
0 commit comments