1 write to _pools
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
63_pools = new ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>();
9 references to _pools
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (9)
57private object SyncObj => _pools; 158var poolsRef = new WeakReference<ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>>(_pools); 338while (!_pools.TryGetValue(key, out pool)) 350if (_pools.TryAdd(key, pool)) 456foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in _pools) 485foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> entry in _pools) 489_pools.TryRemove(entry.Key, out _); 496SetCleaningTimer(!_pools.IsEmpty ? _cleanPoolTimeout : Timeout.InfiniteTimeSpan); 512foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in _pools)