4 writes to _associatedHttp11ConnectionCount
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (3)
242
_associatedHttp11ConnectionCount
++;
320
_associatedHttp11ConnectionCount
--;
420
_associatedHttp11ConnectionCount
--;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
308
_associatedHttp11ConnectionCount
++;
14 references to _associatedHttp11ConnectionCount
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
963
if (!_usedSinceLastCleanup &&
_associatedHttp11ConnectionCount
== 0 && _associatedHttp2ConnectionCount == 0)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (12)
105
Debug.Assert(
_associatedHttp11ConnectionCount
>= connectionCount + _pendingHttp11ConnectionCount,
106
$"Expected {
_associatedHttp11ConnectionCount
} >= {connectionCount} + {_pendingHttp11ConnectionCount}");
108
Debug.Assert(
_associatedHttp11ConnectionCount
<= _maxHttp11Connections,
109
$"Expected {
_associatedHttp11ConnectionCount
} <= {_maxHttp11Connections}");
110
Debug.Assert(
_associatedHttp11ConnectionCount
>= _pendingHttp11ConnectionCount,
111
$"Expected {
_associatedHttp11ConnectionCount
} >= {_pendingHttp11ConnectionCount}");
228
_associatedHttp11ConnectionCount
< _maxHttp11Connections && // Under the connection limit
235
$"Pending HTTP/1.1 connections: {_pendingHttp11ConnectionCount}, Total associated HTTP/1.1 connections: {
_associatedHttp11ConnectionCount
}, " +
317
Debug.Assert(
_associatedHttp11ConnectionCount
> 0);
417
Debug.Assert(
_associatedHttp11ConnectionCount
> 0);
437
Debug.Assert(connections.Count <= pool.
_associatedHttp11ConnectionCount
);
439
HttpConnection[] stackCopy = ArrayPool<HttpConnection>.Shared.Rent(pool.
_associatedHttp11ConnectionCount
);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
306
if (
_associatedHttp11ConnectionCount
< _maxHttp11Connections)