Skip to content

Commit

Permalink
HttpConnectionPool improvements (#62935)
Browse files Browse the repository at this point in the history
(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
geoffkizer committed Jan 7, 2022
1 parent 03c5dbc commit b4dfd7d
Show file tree
Hide file tree
Showing 2 changed files with 298 additions and 147 deletions.
Loading

0 comments on commit b4dfd7d

Please sign in to comment.