FormOptions not work
Eilon opened this issue · comments
From @sy-ing on August 29, 2017 11:25
In .net core 2.0
I want to upload a file that size maybe 1G or more
I modify the FormOptions like
services.Configure<FormOptions>(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
Copied from original issue: dotnet/core#908
From @Petermarcu on August 30, 2017 16:35
Moved to correct repo. BTW there's some info here on request limits: aspnet/Announcements#267
Were you able to resolve your issue with the information on the announcement Eilon shared?
I repair the issue by modify the cofig of the nginx and remove the tag of async