c539968eac7349e363299f891c86c64d3f9b52de
client.checkResponseErr() was hanging and consuming infinite memory when the serverResp.Body io.Reader returns infinite stream. This commit prohibits reading more than 1MiB. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> (cherry picked from commit 1db4be0c32267b7a8a27998089ce96440bed492e) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 49556e047059d81b64f6cd12f4c602c9a9c471c7 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%