14 references to Settings
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (11)
100
_http2Enabled = _poolManager.
Settings
._maxHttpVersion >= HttpVersion.Version20;
104
_http3Enabled = _poolManager.
Settings
._maxHttpVersion >= HttpVersion.Version30;
253
if (_poolManager.
Settings
._preAuthenticate)
281
SslClientAuthenticationOptions sslOptions = poolManager.
Settings
._sslOptions?.ShallowClone() ?? new SslClientAuthenticationOptions();
284
if (poolManager.
Settings
._clientCertificateOptions == ClientCertificateOption.Manual && sslOptions.LocalCertificateSelectionCallback != null &&
300
public HttpConnectionSettings Settings => _poolManager.
Settings
;
915
TimeSpan pooledConnectionLifetime = _poolManager.
Settings
._pooledConnectionLifetime;
931
TimeSpan lifetime = _poolManager.
Settings
._pooledConnectionLifetime;
1087
TimeSpan pooledConnectionLifetime = _poolManager.
Settings
._pooledConnectionLifetime;
1088
TimeSpan pooledConnectionIdleTimeout = _poolManager.
Settings
._pooledConnectionIdleTimeout;
1095
if (_poolManager.
Settings
._shouldEvictConnection is not null)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
71
private bool EnableMultipleHttp2Connections => _poolManager.
Settings
.EnableMultipleHttp2Connections;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (2)
58
private bool EnableMultipleHttp3Connections => _poolManager.
Settings
.EnableMultipleHttp3Connections;
271
QuicConnection quicConnection = await ConnectHelper.ConnectQuicAsync(queueItem.Request, connectEndPoint, _poolManager.
Settings
._pooledConnectionIdleTimeout, _sslOptionsHttp3!, connection.StreamCapacityCallback, cts.Token).ConfigureAwait(false);