1 instantiation of Http3Connection
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
265
connection = new
Http3Connection
(this, authority, includeAltUsedHeader: _http3Authority == authority);
25 references to Http3Connection
System.Net.Http (25)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
250
_http3RequestQueue = new RequestQueue<
Http3Connection
?>();
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (19)
34
private List<
Http3Connection
>? _availableHttp3Connections;
40
private RequestQueue<
Http3Connection
?> _http3RequestQueue;
90
if (!TryGetPooledHttp3Connection(request, out
Http3Connection
? connection, out HttpConnectionWaiter<
Http3Connection
?>? http3ConnectionWaiter))
130
private bool TryGetPooledHttp3Connection(HttpRequestMessage request, [NotNullWhen(true)] out
Http3Connection
? connection, [NotNullWhen(false)] out HttpConnectionWaiter<
Http3Connection
?>? waiter)
233
RequestQueue<
Http3Connection
?>.QueueItem queueItem = _http3RequestQueue.PeekNextRequestForConnectionAttempt();
241
private async Task InjectNewHttp3ConnectionAsync(RequestQueue<
Http3Connection
?>.QueueItem queueItem)
251
Http3Connection
? connection = null;
254
HttpConnectionWaiter<
Http3Connection
?> waiter = queueItem.Waiter;
325
private void HandleHttp3ConnectionFailure(HttpConnectionWaiter<
Http3Connection
?> requestWaiter, Exception? e)
356
private void ReturnHttp3Connection(
Http3Connection
connection, bool isNewConnection, HttpConnectionWaiter<
Http3Connection
?>? initialRequestWaiter = null)
385
HttpConnectionWaiter<
Http3Connection
?>? waiter = null;
425
_availableHttp3Connections ??= new List<
Http3Connection
>();
480
private void DisableHttp3Connection(
Http3Connection
connection)
488
async Task DisableHttp3ConnectionAsync(
Http3Connection
connection)
523
public void InvalidateHttp3Connection(
Http3Connection
connection)
559
private static int ScavengeHttp3ConnectionList(List<
Http3Connection
> list, ref List<HttpConnectionBase>? toDispose, long nowTicks, TimeSpan pooledConnectionLifetime, TimeSpan pooledConnectionIdleTimeout)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
106
/// Starts shutting down the <see cref="
Http3Connection
"/>. Final cleanup will happen when there are no more active requests.
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
26
private
Http3Connection
_connection;
68
public Http3RequestStream(HttpRequestMessage request,
Http3Connection
connection, QuicStream stream)
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
45
Debug.Assert(this is HttpConnection or Http2Connection or
Http3Connection
);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
153
internal byte[] Http3SettingsFrame => _http3SettingsFrame ??=
Http3Connection
.BuildSettingsFrame(this);