Closed YaelKhalman closed 3 years ago
I filed an issue upstream to investigate the underlying issue. See https://issues.apache.org/jira/browse/HTTPASYNC-163
In the meantime, I've found a workaround to bypass the restriction (pending review)
@YaelKhalman This should work now in 3.11.0. If you have a chance, give it a spin.
Something you do have to aware of is that currently, the Async Client will buffer the Multipart Request in memory. This isn't ideal, and is something we will look at improving as part of the 4.x
release.
When sending multipart put request with file greater than 25 KB I'm getting
Content length is too long: 1300881
exception coming fromorg.apache.http.entity.mime.MultipartFormEntity.getContent(MultipartFormEntity.java:103)
Stack trace:
The 25 kb limitation in
MultipartFormEntity#getContent
is discussed here.