27 references to SocketsHttpHandler
System.Net.Http (27)
System\Net\Http\HttpHandlerDefaults.cs (1)
13
public static readonly int DefaultMaxConnectionsPerServer = GlobalHttpSettings.
SocketsHttpHandler
.MaxConnectionsPerServer;
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (1)
377
return SendWithAuthAsync(request, proxyUri, async, proxyCredentials, preAuthenticate: GlobalHttpSettings.
SocketsHttpHandler
.ProxyPreAuthenticate, isProxyAuth: true, doRequestAuth, pool, cancellationToken);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (7)
98
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3)
242
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _http3Enabled)
259
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _http3Enabled)
421
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && // guard to enable trimming HTTP/3 support
987
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3)
1040
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _availableHttp3Connections is not null)
1127
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _availableHttp3Connections is not null)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (9)
66
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
134
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
209
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
248
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
332
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
363
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
485
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
528
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
564
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (1)
89
int timeout = GlobalHttpSettings.
SocketsHttpHandler
.PendingConnectionTimeoutOnRequestCompletion;
System\Net\Http\SocketsHttpHandler\Http2StreamWindowManager.cs (4)
15
private static double WindowScaleThresholdMultiplier => GlobalHttpSettings.
SocketsHttpHandler
.Http2StreamWindowScaleThresholdMultiplier;
16
private static int MaxStreamWindowSize => GlobalHttpSettings.
SocketsHttpHandler
.MaxHttp2StreamWindowSize;
17
private static bool WindowScalingEnabled => !GlobalHttpSettings.
SocketsHttpHandler
.DisableDynamicHttp2WindowSizing;
184
e._state = GlobalHttpSettings.
SocketsHttpHandler
.DisableDynamicHttp2WindowSizing ? State.Disabled : State.Init;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (2)
80
bool allowHttp2 = GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp2;
81
bool allowHttp3 = GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (2)
287
if (value < HttpHandlerDefaults.DefaultInitialHttp2StreamWindowSize || value > GlobalHttpSettings.
SocketsHttpHandler
.MaxHttp2StreamWindowSize)
292
GlobalHttpSettings.
SocketsHttpHandler
.MaxHttp2StreamWindowSize);