Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/http2: if the only stream in a connection times out, prevent re-use
This commit mitigates some raciness which can occur when an established connection fails. Without it, the connection can continue to be drawn from the connection pool, leading to subsequent requests failing. Fixes golang/go#59690
- Loading branch information