14 references to _http11Connections
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (4)
312
Debug.Assert(!Monitor.IsEntered(
_http11Connections
));
313
return
_http11Connections
;
317
public bool HasSyncObjLock => Monitor.IsEntered(
_http11Connections
);
997
ScavengeHttp11ConnectionStack(this,
_http11Connections
, ref toDispose, nowTicks, pooledConnectionLifetime, pooledConnectionIdleTimeout);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (10)
37
while (
_http11Connections
.TryPop(out connection))
83
/// <br/>- After adding a request to the queue if we fail to obtain a connection from <see cref="
_http11Connections
"/>.
86
/// The <paramref name="connection"/> can either be provided as an argument (when returning a connection to the pool), or one will be rented from <see cref="
_http11Connections
"/>.
104
int connectionCount =
_http11Connections
.Count;
115
if (connection is not null ||
_http11Connections
.TryPop(out connection))
161
_http11Connections
.Push(connection);
212
while (
_http11Connections
.TryPop(out connection))
233
Trace($"Available HTTP/1.1 connections: {
_http11Connections
.Count}, Requests in the queue: {_http11RequestQueue.Count}, " +
378
_http11Connections
.Push(connection);
417
Debug.Assert(!disposing || Array.IndexOf(
_http11Connections
.ToArray(), connection) < 0);