File Limits on file uploads
- Dominant language
- C#
- Stars
- 183
- Forks
- 160
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 15
Description
Hello,
I have a tool that uses this SDK for file uploads I'm getting this error on files over 4gb.
Content-Length greater than UINT32_MAX. Use 'Transfer-Encoding: chunked' instead.
UINT32_MAX is 4,294,967,295
I am trying to avoid using chunked uploads since this SDK also pulls all of the file in memory instead of utilizing a stream correctly for chunked uploads. Some users don't have 20gb of memory etc.
It would be great if regular uploads were not limited by int32 max.
-Matt
Contributor guide
Research direction
Trace the SDK's regular file-upload path and inspect how it sets Content-Length and handles files larger than UINT32_MAX. Compare that path with the chunked-upload handling, paying attention to whether the file is loaded fully into memory. Done means regular uploads support files over 4 GB without requiring the whole file in memory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100