Skip to content

Commit

Permalink
Remove Kestrel request body size limit (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat authored Dec 15, 2024
1 parent ea98e9b commit 79b78aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Engine/Kestrel/Hosting/KestrelServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ private void Configure(WebApplicationBuilder builder)
{
options.AllowSynchronousIO = true;

options.Limits.MaxRequestBodySize = null;

foreach (var endpoint in Configuration.EndPoints)
{
if (endpoint.Security != null)
Expand Down

0 comments on commit 79b78aa

Please sign in to comment.