Unable to upload file greater than 2GB in size with ANCM Out-Of-Process and Kestrel
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
_From @kagoyal on Wednesday, February 1, 2017 3:11:34 PM_
I am trying to upload file greater than 2GB using multipart formdata.
The issue I am observing is after 2GB upload, read of input stream gets stuck and process hangs.
Microsoft.AspNetCore.Server.Kestrel version we are using is "1.1.0".
HTTP request’s response never come back and timesout after one hour (execution time we have set).
I have modified IIS post limits for upto 4GB, also in ConfigureServices –
services.Configure(x =>
{
x.MultipartBodyLengthLimit = 4294967296;
});
I am following the sample here - https://github.com/aspnet/Docs/tree/master/aspnetcore/mvc/models/file-uploads/sample/FileUploadSample to read multipart data.
Please let me know if any more information is required to debug this, or if this is expected behavior.
_Copied from original issue: aspnet/HttpAbstractions#766_
Contributor guide
Assessment
This issue has not been assessed yet.