Closed
Description
Describe the bug
s3 Content Length and go-sdk's ContentLength is different. This causes our endpoints which were streaming data to fail. This has started happening after we did upgrades mentioned here #2370 go get -u github.com/aws/aws-sdk-go-v2/...
Expected Behavior
Content length should be same as received by the Http call in Debug logs
Current Behavior
Actual ContentLength : 25676
GetObject's result.ContentLength
: 824635599248
Reproduction Steps
Please refer https://github.com/gautampunhani/aws-sdk-content-length-issue/tree/main , Which tries to access an AWS Open Data S3 file.
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
Please refer here for versions used : https://github.com/gautampunhani/aws-sdk-content-length-issue/blob/main/go.mod
Compiler and Version used
go version go1.21.3
Operating System and version
darwin/amd64
Metadata
Assignees
Labels
No labels
Activity