1 write to _pools
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
65_pools = new ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>();
9 references to _pools
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (9)
59private object SyncObj => _pools; 180var poolsRef = new WeakReference<ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>>(_pools); 374while (!_pools.TryGetValue(key, out pool)) 386if (_pools.TryAdd(key, pool)) 501foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in _pools) 530foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> entry in _pools) 534_pools.TryRemove(entry.Key, out _); 541SetCleaningTimer(!_pools.IsEmpty ? _cleanPoolTimeout : Timeout.InfiniteTimeSpan); 560foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in _pools)