2 instantiations of Http2PeerSettings
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http2\Http2Connection.cs (2)
114private readonly Http2PeerSettings _serverSettings = new Http2PeerSettings(); 115private readonly Http2PeerSettings _clientSettings = new Http2PeerSettings();
29 references to Http2PeerSettings
Microsoft.AspNetCore.Server.Kestrel.Core (29)
Http2Limits.cs (14)
16private int _headerTableSize = (int)Http2PeerSettings.DefaultHeaderTableSize; 17private int _maxFrameSize = (int)Http2PeerSettings.DefaultMaxFrameSize; 75if (value < Http2PeerSettings.MinAllowedMaxFrameSize || value > Http2PeerSettings.MaxAllowedMaxFrameSize) 77throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.FormatArgumentOutOfRange(Http2PeerSettings.MinAllowedMaxFrameSize, Http2PeerSettings.MaxAllowedMaxFrameSize)); 116if (value < Http2PeerSettings.DefaultInitialWindowSize || value > Http2PeerSettings.MaxWindowSize) 119CoreStrings.FormatArgumentOutOfRange(Http2PeerSettings.DefaultInitialWindowSize, Http2PeerSettings.MaxWindowSize)); 139if (value < Http2PeerSettings.DefaultInitialWindowSize || value > Http2PeerSettings.MaxWindowSize) 142CoreStrings.FormatArgumentOutOfRange(Http2PeerSettings.DefaultInitialWindowSize, Http2PeerSettings.MaxWindowSize));
Internal\Http2\FlowControl\FlowControl.cs (2)
19Debug.Assert(initialWindowSize <= Http2PeerSettings.MaxWindowSize, $"{nameof(initialWindowSize)} too large."); 41var maxUpdate = Http2PeerSettings.MaxWindowSize - Available;
Internal\Http2\Http2Connection.cs (4)
114private readonly Http2PeerSettings _serverSettings = new Http2PeerSettings(); 115private readonly Http2PeerSettings _clientSettings = new Http2PeerSettings(); 217internal Http2PeerSettings ServerSettings => _serverSettings; 311var diff = connectionWindow - (int)Http2PeerSettings.DefaultInitialWindowSize;
Internal\Http2\Http2FrameWriter.cs (4)
91private int _maxFrameSize = Http2PeerSettings.MinAllowedMaxFrameSize; 96private int _headersEncodingLargeBufferSize = Http2PeerSettings.MinAllowedMaxFrameSize * HeaderBufferSizeMultiplier; 159_connectionWindow = Http2PeerSettings.DefaultInitialWindowSize; 1098var maxUpdate = Http2PeerSettings.MaxWindowSize - _connectionWindow;
Internal\Http2\Http2OutputProducer.cs (1)
711var maxUpdate = Http2PeerSettings.MaxWindowSize - _streamWindow;
Internal\Http2\Http2StreamContext.cs (4)
27Http2PeerSettings clientPeerSettings, 28Http2PeerSettings serverPeerSettings, 42public Http2PeerSettings ClientPeerSettings { get; } 43public Http2PeerSettings ServerPeerSettings { get; }