Definition at line 673 of file HttpConnectionPool.cs.
674 {
677 {
679 {
681 {
682 Trace(
"Using existing HTTP3 connection.",
"GetHttp3ConnectionAsync");
683 }
686 }
688 {
689 http3Connection.Trace(
"Found expired HTTP3 connection.",
"GetHttp3ConnectionAsync");
690 }
693 }
695 {
697 {
699 {
701 }
702 }
703 }
705 try
706 {
708 {
710 {
711 Trace(
"Using existing HTTP3 connection.",
"GetHttp3ConnectionAsync");
712 }
714 }
716 {
717 Trace(
"Attempting new HTTP3 connection.",
"GetHttp3ConnectionAsync");
718 }
720 try
721 {
723 }
724 catch
725 {
727 throw;
728 }
731 {
732 Trace(
"New HTTP3 connection established.",
"GetHttp3ConnectionAsync");
733 }
735 }
736 finally
737 {
739 }
740 }
readonly SslClientAuthenticationOptions _sslOptionsHttp3
void InvalidateHttp3Connection(Http3Connection connection)
void BlocklistAuthority(HttpAuthority badAuthority)
Http3Connection _http3Connection
bool CheckExpirationOnGet(HttpConnectionBase connection)
void Trace(string message, [CallerMemberName] string memberName=null)
HttpConnectionSettings Settings
SemaphoreSlim _http3ConnectionCreateLock
bool _usedSinceLastCleanup
readonly HttpAuthority _originAuthority
QuicImplementationProvider _quicImplementationProvider
static readonly System.Net.NetEventSource Log
static QuicImplementationProvider Default
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
static bool Read(ref bool location)
References System.Net.Http.HttpConnectionPool._http3Connection, System.Net.Http.HttpConnectionPool._http3ConnectionCreateLock, System.Net.Http.HttpConnectionPool._originAuthority, System.Net.Http.HttpConnectionSettings._quicImplementationProvider, System.Net.Http.HttpConnectionPool._sslOptionsHttp3, System.Net.Http.HttpConnectionPool._usedSinceLastCleanup, System.Net.Http.HttpConnectionPool.BlocklistAuthority(), System.cancellationToken, System.Net.Http.HttpConnectionPool.CheckExpirationOnGet(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Net.Http.ConnectHelper.ConnectQuicAsync(), System.Net.Quic.QuicImplementationProviders.Default, System.Net.Http.HttpConnectionPool.InvalidateHttp3Connection(), System.Net.NetEventSource.Log, System.Threading.Volatile.Read(), System.Threading.SemaphoreSlim.Release(), System.Net.Http.HttpConnectionPool.Settings, System.Net.Http.HttpConnectionPool.SyncObj, System.Net.Http.HttpConnectionPool.Trace(), and System.Threading.SemaphoreSlim.WaitAsync().
Referenced by System.Net.Http.HttpConnectionPool.TrySendUsingHttp3Async().