synchronoss / nio-multipart

A multipart library that uses nio and asynchronous processing
Apache License 2.0
93 stars 20 forks source link

MultipartContext uses int instead of long for content-length #10

Open rstoyanchev opened 5 years ago

rstoyanchev commented 5 years ago

The MultipartContext expects an int content-length but for large enough uploads, that's insufficient. From what I can see the contentLength field of the context is not used thereafter, but nevertheless it should be updated to use long.

Originally reported in https://jira.spring.io/browse/SPR-17345.