[release/2.2] Change HttpConnectionPool.GetConnectionAsync to do read-ahead outside of lock (#) by stephentoub · Pull Request #32568 · dotnet/corefx
Port #32495 to release/2.2. Minimize the work done inside the lock in order to reduce contention. This means we need to reacquire the lock if the connection isn't usable, but in the fast path ...