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