4 writes to MaxRequestHeaderCount
InMemory.FunctionalTests (1)
RequestHeaderLimitsTests.cs (1)
167options.Limits.MaxRequestHeaderCount = maxRequestHeaderCount.Value;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Http1\Http1ConnectionTests.cs (1)
270options.Limits.MaxRequestHeaderCount = 1;
KestrelServerLimitsTests.cs (2)
136(new KestrelServerLimits()).MaxRequestHeaderCount = value; 146o.MaxRequestHeaderCount = value;
9 references to MaxRequestHeaderCount
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\HttpProtocol.cs (1)
430_eagerRequestHeadersParsedLimit = ServerOptions.Limits.MaxRequestHeaderCount;
Internal\Http2\Http2Stream.cs (2)
60_eagerRequestHeadersParsedLimit = ServerOptions.Limits.MaxRequestHeaderCount * 2; 227if (RequestHeadersParsed > ServerOptions.Limits.MaxRequestHeaderCount)
Internal\Http3\Http3Stream.cs (2)
102_eagerRequestHeadersParsedLimit = ServerOptions.Limits.MaxRequestHeaderCount * 2; 972if (RequestHeadersParsed > ServerOptions.Limits.MaxRequestHeaderCount)
KestrelServerLimits.cs (2)
303writer.WritePropertyName(nameof(MaxRequestHeaderCount)); 304writer.WriteNumberValue(MaxRequestHeaderCount);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerLimitsTests.cs (2)
125Assert.Equal(100, (new KestrelServerLimits()).MaxRequestHeaderCount); 147Assert.Equal(value, o.MaxRequestHeaderCount);