5 writes to MaxRequestBufferSize
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
KestrelServerLimitsTests.cs (2)
54
(new KestrelServerLimits()).
MaxRequestBufferSize
= value;
64
o.
MaxRequestBufferSize
= value;
KestrelServerTests.cs (2)
225
MaxRequestBufferSize
= maxRequestBufferSize,
251
MaxRequestBufferSize
= maxRequestBufferSize,
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
325
options.Limits.
MaxRequestBufferSize
= maxRequestBufferSize;
11 references to MaxRequestBufferSize
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\KestrelServerImpl.cs (6)
413
if (Options.Limits.
MaxRequestBufferSize
.HasValue &&
414
Options.Limits.
MaxRequestBufferSize
< Options.Limits.MaxRequestLineSize)
417
CoreStrings.FormatMaxRequestBufferSmallerThanRequestLineBuffer(Options.Limits.
MaxRequestBufferSize
.Value, Options.Limits.MaxRequestLineSize));
420
if (Options.Limits.
MaxRequestBufferSize
.HasValue &&
421
Options.Limits.
MaxRequestBufferSize
< Options.Limits.MaxRequestHeadersTotalSize)
424
CoreStrings.FormatMaxRequestBufferSmallerThanRequestHeaderBuffer(Options.Limits.
MaxRequestBufferSize
.Value, Options.Limits.MaxRequestHeadersTotalSize));
KestrelServerLimits.cs (3)
293
writer.WritePropertyName(nameof(
MaxRequestBufferSize
));
294
if (
MaxRequestBufferSize
is null)
300
writer.WriteNumberValue(
MaxRequestBufferSize
.Value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerLimitsTests.cs (2)
44
Assert.Equal(1024 * 1024, (new KestrelServerLimits()).
MaxRequestBufferSize
);
65
Assert.Equal(value, o.
MaxRequestBufferSize
);