hashicorp / hashicorp/go-retryablehttp
getBodyReaderAndContentLength: ioutil.ReadAll: OOM
Open
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 298
- PR merge metrics
- No merged PRs in 30d
Description
When I use `go-retryablehttp` to put some resources to my server, I got an OOM.
After I analysed pprof, I found it was retryablehttp read the body into memory:


This causes OOM when I upload a large file.
Could you please change to another implement?
My retryablehttp version: `0.7.0`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.