You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is a Go library issue and not an underlying Cloudflare API issue
This is an issue with the Go library
Describe the bug
This is a bit of a weird bug report because I'm not sure who to blame.
If I try to upload a larger object with github.com/aws/aws-sdk-go-v2/service/s3.PutObject. Using v1.72.3 works perfectly. Anything newer and it just loops indefinitely, never finishing the upload.
// WithRequestChecksumCalculation is a helper function to construct functional options// that sets RequestChecksumCalculation on config's LoadOptionsfuncWithRequestChecksumCalculation(c aws.RequestChecksumCalculation) LoadOptionsFunc {
returnfunc(o*LoadOptions) error {
ifc>0 {
o.RequestChecksumCalculation=c
}
returnnil
}
}
Confirm this is a Go library issue and not an underlying Cloudflare API issue
Describe the bug
This is a bit of a weird bug report because I'm not sure who to blame.
If I try to upload a larger object with
github.com/aws/aws-sdk-go-v2/service/s3.PutObject
. Usingv1.72.3
works perfectly. Anything newer and it just loops indefinitely, never finishing the upload.There is a a compatibility note in https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/, it does not fix it. Any version newer than
v1.72.3
chokes on R2.To Reproduce
Call s3.PutObject with anything larger than a few megabytes using v1.77.1
Code snippets
OS
macOS
Go version
Go 1.24.0
Library version
github.com/cloudflare/cloudflare-go/v4 v4.1.0
The text was updated successfully, but these errors were encountered: