15 references to Http2
Interop.FunctionalTests (4)
HttpClientHttp2InteropTests.cs (4)
1139
options.Limits.
Http2
.HeaderTableSize = 1;
1199
options.Limits.
Http2
.MaxStreamsPerConnection = 5;
1260
options.Limits.
Http2
.MaxStreamsPerConnection = 5;
1318
webHostBuilder.ConfigureKestrel(options => options.Limits.
Http2
.MaxFrameSize = 1024 * 20); // The default is 16kb
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http2\Http2Connection.cs (3)
155
var http2Limits = httpLimits.
Http2
;
310
var connectionWindow = _context.ServiceContext.ServerOptions.Limits.
Http2
.InitialConnectionWindowSize;
1049
_frameWriter.UpdateMaxHeaderTableSize(Math.Min(_clientSettings.HeaderTableSize, (uint)Limits.
Http2
.HeaderTableSize));
KestrelServerLimits.cs (2)
327
writer.WritePropertyName(nameof(
Http2
));
329
Http2
.Serialize(writer);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
KestrelServerLimitsTests.cs (6)
313
Assert.Equal(1 << 14, new KestrelServerLimits().
Http2
.MaxFrameSize);
322
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => new KestrelServerLimits().
Http2
.MaxFrameSize = value);
329
Assert.Equal(4096, new KestrelServerLimits().
Http2
.HeaderTableSize);
337
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => new KestrelServerLimits().
Http2
.HeaderTableSize = value);
344
Assert.Equal(32 * 1024, new KestrelServerLimits().
Http2
.MaxRequestHeaderFieldSize);
353
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => new KestrelServerLimits().
Http2
.MaxRequestHeaderFieldSize = value);