net/http: HTTP/2 retry loop broken when net/http manages dials #52459
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
http2.Transport.RoundTripOpt
retries requests under some circumstances (transport.go#492):When using the bundled HTTP/2 support in
net/http
, however,GetClientConn
does not dial connections when none are available. Instead, it returnsErrNoCachedConn
andnet/http
handles the dial.This results in an infinite retry loop when the server immediately hangs up on a retryable request.
The text was updated successfully, but these errors were encountered: