Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AWS SDK v2 for multipart uploads fail #6167

Unanswered
coderSamuelLYS asked this question in Q&A
Discussion options

When using the AWS SDK v2 for multipart uploads, if the size of the current part file does not match the contentLength set in the code, the relevant method will block here until a timeout occurs. Does contentLength need to strictly match the size of the incoming file?
java

s3Client.uploadPart(request,
 RequestBody.fromInputStream(inputStream, contentLength));
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /