25 references to SocketsHttpHandler
System.Net.Http (25)
System\Net\Http\HttpHandlerDefaults.cs (1)
13
public static readonly int DefaultMaxConnectionsPerServer = GlobalHttpSettings.
SocketsHttpHandler
.MaxConnectionsPerServer;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (6)
88
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3)
230
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _http3Enabled)
247
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _http3Enabled)
403
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && // guard to enable trimming HTTP/3 support
916
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _availableHttp3Connections is not null)
992
if (GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3 && _availableHttp3Connections is not null)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (9)
65
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
133
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
208
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
247
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
330
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
361
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
483
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
526
Debug.Assert(GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3);
562
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)
78
bool allowHttp2 = GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp2;
79
bool allowHttp3 = GlobalHttpSettings.
SocketsHttpHandler
.AllowHttp3;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (2)
286
if (value < HttpHandlerDefaults.DefaultInitialHttp2StreamWindowSize || value > GlobalHttpSettings.
SocketsHttpHandler
.MaxHttp2StreamWindowSize)
291
GlobalHttpSettings.
SocketsHttpHandler
.MaxHttp2StreamWindowSize);