5 points · by simmervigor · 1y ago · 1 comment
Should Go not resolve this issue instead of asking everybody to workaround the issue and reading the body response and creating this over complicated defer function?....
Go and enhance your calm- demolishing an HTTP:2 interop problem
HTTP/2 implementations often respond to suspected attacks by closing the connection with an ENHANCE_YOUR_CALM error code. Learn how a common pattern of using Go's HTTP/2 client can lead to unintended errors and the solution to avoiding them.
Cloudflare Blog