1 instantiation of Http3Connection
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
272connection = 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)
34private List<Http3Connection>? _availableHttp3Connections; 40private RequestQueue<Http3Connection?> _http3RequestQueue; 78HttpConnectionWaiter<Http3Connection?>? http3ConnectionWaiter = null; 93if (!TryGetPooledHttp3Connection(request, out Http3Connection? connection, out http3ConnectionWaiter)) 138private bool TryGetPooledHttp3Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http3Connection? connection, [NotNullWhen(false)] out HttpConnectionWaiter<Http3Connection?>? waiter) 241RequestQueue<Http3Connection?>.QueueItem queueItem = _http3RequestQueue.PeekNextRequestForConnectionAttempt(); 249private async Task InjectNewHttp3ConnectionAsync(RequestQueue<Http3Connection?>.QueueItem queueItem) 259Http3Connection? connection = null; 262HttpConnectionWaiter<Http3Connection?> waiter = queueItem.Waiter; 332private void HandleHttp3ConnectionFailure(HttpConnectionWaiter<Http3Connection?> requestWaiter, Exception? e) 363private void ReturnHttp3Connection(Http3Connection connection, bool isNewConnection, HttpConnectionWaiter<Http3Connection?>? initialRequestWaiter = null) 392HttpConnectionWaiter<Http3Connection?>? waiter = null; 432_availableHttp3Connections ??= new List<Http3Connection>(); 487private void DisableHttp3Connection(Http3Connection connection) 495async Task DisableHttp3ConnectionAsync(Http3Connection connection) 530public void InvalidateHttp3Connection(Http3Connection connection) 566private 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)
26private Http3Connection _connection; 68public Http3RequestStream(HttpRequestMessage request, Http3Connection connection, QuicStream stream)
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
45Debug.Assert(this is HttpConnection or Http2Connection or Http3Connection);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
153internal byte[] Http3SettingsFrame => _http3SettingsFrame ??= Http3Connection.BuildSettingsFrame(this);