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