File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/software/amazon/encryption/s3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333import software .amazon .awssdk .services .s3 .multipart .MultipartConfiguration ;
3434import software .amazon .encryption .s3 .internal .GetEncryptedObjectPipeline ;
3535import software .amazon .encryption .s3 .internal .InstructionFileConfig ;
36- import software .amazon .encryption .s3 .internal .NoRetriesAsyncRequestBody ;
3736import software .amazon .encryption .s3 .internal .PutEncryptedObjectPipeline ;
3837import software .amazon .encryption .s3 .materials .AesKeyring ;
3938import software .amazon .encryption .s3 .materials .CryptographicMaterialsManager ;
@@ -165,8 +164,9 @@ private CompletableFuture<PutObjectResponse> multipartPutObject(PutObjectRequest
165164 .secureRandom (_secureRandom )
166165 .build ();
167166 // Ensures parts are not retried to avoid corrupting ciphertext
168- AsyncRequestBody noRetryBody = new NoRetriesAsyncRequestBody (requestBody );
169- return pipeline .putObject (putObjectRequest , noRetryBody );
167+ // TODO: We might not need this - double check...
168+ // AsyncRequestBody noRetryBody = new NoRetriesAsyncRequestBody(requestBody);
169+ return pipeline .putObject (putObjectRequest , requestBody );
170170 }
171171
172172 /**
You can’t perform that action at this time.
0 commit comments