4 writes to MinRequestBodyDataRate
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
2020kestrel.Limits.MinRequestBodyDataRate = null;
InteropWebsite (1)
Program.cs (1)
50options.Limits.MinRequestBodyDataRate = null;
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
339options.Limits.MinRequestBodyDataRate = null;
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (1)
81options.Limits.MinRequestBodyDataRate = null;
12 references to MinRequestBodyDataRate
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Features\IHttpMinRequestBodyDataRateFeature.cs (2)
9/// Instead, use <see cref="KestrelServerLimits.MinRequestBodyDataRate"/> for server-wide configuration which applies to both HTTP/2 and HTTP/1.x. 18/// Instead, use <see cref="KestrelServerLimits.MinRequestBodyDataRate"/> for server-wide configuration which applies to both HTTP/2 and HTTP/1.x.
Internal\Http\HttpProtocol.cs (1)
358MinRequestBodyDataRate = ServerOptions.Limits.MinRequestBodyDataRate;
Internal\Http2\Http2Connection.cs (2)
269Debug.Assert(Limits.MinRequestBodyDataRate != null); 271Log.RequestBodyMinimumDataRateNotSatisfied(ConnectionId, null, Limits.MinRequestBodyDataRate.BytesPerSecond);
Internal\Http3\Http3Connection.cs (2)
902Debug.Assert(Limits.MinRequestBodyDataRate != null); 904Log.RequestBodyMinimumDataRateNotSatisfied(ConnectionId, null, Limits.MinRequestBodyDataRate.BytesPerSecond);
KestrelServerLimits.cs (2)
322writer.WriteString(nameof(MinRequestBodyDataRate), MinRequestBodyDataRate?.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
297Assert.NotNull(new KestrelServerLimits().MinRequestBodyDataRate); 298Assert.Equal(240, new KestrelServerLimits().MinRequestBodyDataRate.BytesPerSecond); 299Assert.Equal(TimeSpan.FromSeconds(5), new KestrelServerLimits().MinRequestBodyDataRate.GracePeriod);