New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http: Transport.CancelRequest doesn't work on connections blocked in dial #6951
Labels
Milestone
Comments
I saw this problem on Linux. A stack dump is available at golang/gddo#139. Transport.getConn starts a goroutine to dial a connection and waits for the goroutine to complete or for a connection to be returned to the pool. Transport.dialConn blocks on the TLS handshake. Transport.CancelRequest does not work because the connection has not been added to Transport.reqConn. |
Labels changed: added release-go1.3, repo-main. Owner changed to @bradfitz. Status changed to Started. |
Sent https://golang.org/cl/69280043 Anybody want to review? Gary? |
This issue was closed by revision dc6bf29. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by isaac.dawson:
The text was updated successfully, but these errors were encountered: