4 writes to MinRequestBodyDataRate
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
2016
kestrel.Limits.
MinRequestBodyDataRate
= null;
InteropWebsite (1)
Program.cs (1)
50
options.Limits.
MinRequestBodyDataRate
= null;
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (1)
340
options.Limits.
MinRequestBodyDataRate
= null;
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (1)
81
options.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)
358
MinRequestBodyDataRate = ServerOptions.Limits.
MinRequestBodyDataRate
;
Internal\Http2\Http2Connection.cs (2)
269
Debug.Assert(Limits.
MinRequestBodyDataRate
!= null);
271
Log.RequestBodyMinimumDataRateNotSatisfied(ConnectionId, null, Limits.
MinRequestBodyDataRate
.BytesPerSecond);
Internal\Http3\Http3Connection.cs (2)
902
Debug.Assert(Limits.
MinRequestBodyDataRate
!= null);
904
Log.RequestBodyMinimumDataRateNotSatisfied(ConnectionId, null, Limits.
MinRequestBodyDataRate
.BytesPerSecond);
KestrelServerLimits.cs (2)
322
writer.WriteString(nameof(
MinRequestBodyDataRate
),
MinRequestBodyDataRate
?.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
297
Assert.NotNull(new KestrelServerLimits().
MinRequestBodyDataRate
);
298
Assert.Equal(240, new KestrelServerLimits().
MinRequestBodyDataRate
.BytesPerSecond);
299
Assert.Equal(TimeSpan.FromSeconds(5), new KestrelServerLimits().
MinRequestBodyDataRate
.GracePeriod);