System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (12)
37private readonly ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool> _pools;
63_pools = new ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>();
155var poolsRef = new WeakReference<ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>>(_pools);
158if (poolsRef.TryGetTarget(out ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>? pools))
256private HttpConnectionKey GetConnectionKey(HttpRequestMessage request, Uri? proxyUri, bool isProxyConnect)
332HttpConnectionKey key = GetConnectionKey(request, proxyUri, isProxyConnect);
453foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in _pools)
482foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> entry in _pools)
509foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in _pools)
520internal readonly struct HttpConnectionKey : IEquatable<HttpConnectionKey>
546obj is HttpConnectionKey hck &&
549public bool Equals(HttpConnectionKey other) =>