5 writes to MaxRequestBodySize
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
47serverOptions.Limits.MaxRequestBodySize = 5_368_709_120;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerLimitsTests.cs (2)
279MaxRequestBodySize = value 290var ex = Assert.Throws<ArgumentOutOfRangeException>(() => new KestrelServerLimits().MaxRequestBodySize = value);
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
342options.Limits.MaxRequestBodySize = _dataLength;
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (1)
80options.Limits.MaxRequestBodySize = contentLength;
9 references to MaxRequestBodySize
InMemory.FunctionalTests (3)
MaxRequestBodySizeTests.cs (3)
294Assert.Equal(new KestrelServerLimits().MaxRequestBodySize, feature.MaxRequestBodySize); 334Assert.Equal(new KestrelServerLimits().MaxRequestBodySize, feature.MaxRequestBodySize); 391"Content-Length: " + (new KestrelServerLimits().MaxRequestBodySize + 1),
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpProtocol.cs (1)
357MaxRequestBodySize = ServerOptions.Limits.MaxRequestBodySize;
KestrelServerLimits.cs (3)
283writer.WritePropertyName(nameof(MaxRequestBodySize)); 284if (MaxRequestBodySize is null) 290writer.WriteNumberValue(MaxRequestBodySize.Value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerLimitsTests.cs (2)
267Assert.Equal(30000000, new KestrelServerLimits().MaxRequestBodySize); 282Assert.Equal(value, limits.MaxRequestBodySize);