FormOptions not work
Eilon opened this issue · 4 comments
Eilon commented
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
Eilon commented
From @Petermarcu on August 30, 2017 16:35
Eilon commented
Moved to correct repo. BTW there's some info here on request limits: aspnet/Announcements#267
muratg commented
Were you able to resolve your issue with the information on the announcement Eilon shared?
sy-ing commented
I repair the issue by modify the cofig of the nginx and remove the tag of async