Closed
Description
Epic #8858
Currently we can disable the request body data rate limit for the entire server with
webBuilder.ConfigureKestrel(options =>
{
options.Limits.MinRequestBodyDataRate = null;
});
However, we want to be able to control this on a finer scale of per request/stream. We need this in since certain gRPC endpoints are client streaming methods which may not satisfy the request body data rate while all other endpoints of the app should still be subject to the request body data rate. Websocket scenarios will also benefit from this feature.
To implement this feature, it's likely we'll need to overhaul the accounting for request data rates. @halter73 has more context about the implementation here.