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)
59
private object SyncObj =>
_pools
;
180
var poolsRef = new WeakReference<ConcurrentDictionary<HttpConnectionKey, HttpConnectionPool>>(
_pools
);
374
while (!
_pools
.TryGetValue(key, out pool))
386
if (
_pools
.TryAdd(key, pool))
501
foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in
_pools
)
530
foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> entry in
_pools
)
534
_pools
.TryRemove(entry.Key, out _);
541
SetCleaningTimer(!
_pools
.IsEmpty ? _cleanPoolTimeout : Timeout.InfiniteTimeSpan);
560
foreach (KeyValuePair<HttpConnectionKey, HttpConnectionPool> pool in
_pools
)