net/http,x/net/http2: HTTP/2 RoundTrip does not close request body if ClientConnPool's GetClientConn fails #61257
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The RoundTrip contract states that the request body should be closed by RoundTrip, even when an error occurs.
https://pkg.go.dev/net/http#RoundTripper
The HTTP/2 RoundTrip / RoundTripOpt does not close the request body, if its client connection pool cannot acquire a connection (see transport.go#557).
The text was updated successfully, but these errors were encountered: