14 references to Settings
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (11)
96
_http2Enabled = _poolManager.
Settings
._maxHttpVersion >= HttpVersion.Version20;
100
_http3Enabled = _poolManager.
Settings
._maxHttpVersion >= HttpVersion.Version30;
249
if (_poolManager.
Settings
._preAuthenticate)
277
SslClientAuthenticationOptions sslOptions = poolManager.
Settings
._sslOptions?.ShallowClone() ?? new SslClientAuthenticationOptions();
280
if (poolManager.
Settings
._clientCertificateOptions == ClientCertificateOption.Manual && sslOptions.LocalCertificateSelectionCallback != null &&
296
public HttpConnectionSettings Settings => _poolManager.
Settings
;
911
TimeSpan pooledConnectionLifetime = _poolManager.
Settings
._pooledConnectionLifetime;
927
TimeSpan lifetime = _poolManager.
Settings
._pooledConnectionLifetime;
1083
TimeSpan pooledConnectionLifetime = _poolManager.
Settings
._pooledConnectionLifetime;
1084
TimeSpan pooledConnectionIdleTimeout = _poolManager.
Settings
._pooledConnectionIdleTimeout;
1091
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)
57
private bool EnableMultipleHttp3Connections => _poolManager.
Settings
.EnableMultipleHttp3Connections;
270
QuicConnection quicConnection = await ConnectHelper.ConnectQuicAsync(queueItem.Request, connectEndPoint, _poolManager.
Settings
._pooledConnectionIdleTimeout, _sslOptionsHttp3!, connection.StreamCapacityCallback, cts.Token).ConfigureAwait(false);