Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HttpConnectionPool improvements (#62935)
(1) Reduce contention on the pool lock. This is done mainly by (a) not calling TrySetResult on the queued waiter under the lock -- instead, do this outside the lock and retry as necessary for canceled requests; (b) avoid doing diagnostic logging under the lock. (2) Improve handling of failed connection attempts so we don't fail requests unnecessarily.
- Loading branch information