dotnet/core

FormOptions not work

Closed this issue · 2 comments

In .net core 2.0
I want to upload a file that size maybe 1G or more

I modify the FormOptions like

services.Configure(x =>
{
x.ValueLengthLimit = int.MaxValue;
x.MultipartBodyLengthLimit = int.MaxValue;
x.MultipartHeadersLengthLimit = int.MaxValue;
});

But it is invalid

I still can't upload files over 10M in size

Eilon commented

This issue was moved to aspnet/HttpAbstractions#930