File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/transfer/worker Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ internal class DownloadWorker(
7070 return s3.withConfig {
7171 interceptors + = DownloadProgressListenerInterceptor (downloadProgressListener)
7272 enableAccelerate = transferRecord.useAccelerateEndpoint == 1
73+ enableAwsChunked = false
7374 }.getObject(getObjectRequest) { response ->
7475 val totalBytes = (response.body?.contentLength ? : 0L ) + downloadedBytes
7576 transferRecord.bytesTotal = totalBytes
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ internal class SinglePartUploadWorker(
4545 return s3.withConfig {
4646 interceptors + = UploadProgressListenerInterceptor (uploadProgressListener)
4747 enableAccelerate = transferRecord.useAccelerateEndpoint == 1
48+ enableAwsChunked = false
4849 }.putObject(putObjectRequest).let {
4950 Result .success(outputData)
5051 }
You can’t perform that action at this time.
0 commit comments