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