25 references to SocketsHttpHandler
System.Net.Http (25)
System\Net\Http\HttpHandlerDefaults.cs (1)
13public static readonly int DefaultMaxConnectionsPerServer = GlobalHttpSettings.SocketsHttpHandler.MaxConnectionsPerServer;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (6)
88if (GlobalHttpSettings.SocketsHttpHandler.AllowHttp3) 230if (GlobalHttpSettings.SocketsHttpHandler.AllowHttp3 && _http3Enabled) 247if (GlobalHttpSettings.SocketsHttpHandler.AllowHttp3 && _http3Enabled) 403if (GlobalHttpSettings.SocketsHttpHandler.AllowHttp3 && // guard to enable trimming HTTP/3 support 916if (GlobalHttpSettings.SocketsHttpHandler.AllowHttp3 && _availableHttp3Connections is not null) 992if (GlobalHttpSettings.SocketsHttpHandler.AllowHttp3 && _availableHttp3Connections is not null)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (9)
65Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 133Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 208Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 247Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 330Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 361Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 483Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 526Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3); 562Debug.Assert(GlobalHttpSettings.SocketsHttpHandler.AllowHttp3);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (1)
89int timeout = GlobalHttpSettings.SocketsHttpHandler.PendingConnectionTimeoutOnRequestCompletion;
System\Net\Http\SocketsHttpHandler\Http2StreamWindowManager.cs (4)
15private static double WindowScaleThresholdMultiplier => GlobalHttpSettings.SocketsHttpHandler.Http2StreamWindowScaleThresholdMultiplier; 16private static int MaxStreamWindowSize => GlobalHttpSettings.SocketsHttpHandler.MaxHttp2StreamWindowSize; 17private static bool WindowScalingEnabled => !GlobalHttpSettings.SocketsHttpHandler.DisableDynamicHttp2WindowSizing; 184e._state = GlobalHttpSettings.SocketsHttpHandler.DisableDynamicHttp2WindowSizing ? State.Disabled : State.Init;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (2)
78bool allowHttp2 = GlobalHttpSettings.SocketsHttpHandler.AllowHttp2; 79bool allowHttp3 = GlobalHttpSettings.SocketsHttpHandler.AllowHttp3;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (2)
286if (value < HttpHandlerDefaults.DefaultInitialHttp2StreamWindowSize || value > GlobalHttpSettings.SocketsHttpHandler.MaxHttp2StreamWindowSize) 291GlobalHttpSettings.SocketsHttpHandler.MaxHttp2StreamWindowSize);