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 3682a43 commit fbfce55Copy full SHA for fbfce55
lib/lib-storage/src/Upload.ts
@@ -276,6 +276,9 @@ export class Upload extends EventEmitter {
276
const partResult = await this.client.send(
277
new UploadPartCommand({
278
...this.params,
279
+ // dataPart.data is chunked into a non-streaming buffer
280
+ // so the ContentLength from the input should not be used for MPU.
281
+ ContentLength: undefined,
282
UploadId: this.uploadId,
283
Body: dataPart.data,
284
PartNumber: dataPart.partNumber,
0 commit comments