1 write to _http11RequestQueue
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
243
_http11RequestQueue
= new RequestQueue<HttpConnection>();
13 references to _http11RequestQueue
System.Net.Http (13)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (13)
67
_http11RequestQueue
.EnqueueRequest(request, waiter);
85
/// <para>The method will attempt to match one request from the <see cref="
_http11RequestQueue
"/> to an available connection.
88
/// <para>If the <see cref="
_http11RequestQueue
"/> becomes empty, this method will reset the <see cref="_http11RequestQueueIsEmptyAndNotDisposed"/> flag back to <see langword="true"/>,
113
if (
_http11RequestQueue
.Count != 0)
125
bool success =
_http11RequestQueue
.TryDequeueWaiter(this, out waiter);
132
_http11RequestQueueIsEmptyAndNotDisposed =
_http11RequestQueue
.Count == 0 && !_disposed;
223
_http11RequestQueue
.PruneCompletedRequestsFromHeadOfQueue(this);
227
_http11RequestQueue
.Count > _pendingHttp11ConnectionCount && // More requests queued than pending connections
229
_http11RequestQueue
.RequestsWithoutAConnectionAttempt > 0; // There are requests we haven't issued a connection attempt for
233
Trace($"Available HTTP/1.1 connections: {_http11Connections.Count}, Requests in the queue: {
_http11RequestQueue
.Count}, " +
234
$"Requests without a connection attempt: {
_http11RequestQueue
.RequestsWithoutAConnectionAttempt}, " +
245
RequestQueue<HttpConnection>.QueueItem queueItem =
_http11RequestQueue
.PeekNextRequestForConnectionAttempt();
353
_http11RequestQueue
.TryDequeueSpecificWaiter(initialRequestWaiter);