dotnet/aspnetcore

Is it possible to limit file upload speed?

Open

#45,298 opened on Nov 27, 2022

View on GitHub
 (15 comments) (2 reactions) (0 assignees)C# (10,653 forks)batch import
Samplesarea-networkingfeature-rate-limithelp wanted

Repository metrics

Stars
 (37,933 stars)
PR merge metrics
 (Avg merge 16d 9h) (258 merged PRs in 30d)

Description

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

In some scenarios, we need to limit the file upload speed so as not to affect other services, and reduce the overall load of the machine (cpu, network disk, etc.), is there currently an out-of-the-box function or support for custom implementation?

Any help would be greatly appreciated.

Describe the solution you'd like

It would be nice if the framework provided easy configuration options to achieve this goal.

Additional context

No response

Contributor guide