[
https://issues.apache.org/jira/browse/HTTPASYNC-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPASYNC-163.
-----------------------------------------
Resolution: Information Provided
> Unable to upload MultipartFormEntity larger than 25 kb
> ------------------------------------------------------
>
> Key: HTTPASYNC-163
> URL: https://issues.apache.org/jira/browse/HTTPASYNC-163
> Project: HttpComponents HttpAsyncClient
> Issue Type: Bug
> Affects Versions: 4.1.4
> Reporter: Raymond Huang
> Priority: Minor
>
> From investigation, this appears to be caused by a specific check in the
> code. I filed a bug because it's unclear why there is a 25 kb limit using
> `getContent`.
> The non-async client consumes the Entity by calling `writeTo` which does not
> have this 25kb restriction.
> See
> [https://github.com/apache/httpcomponents-client/blob/4.5.x/httpmime/src/main/java/org/apache/http/entity/mime/MultipartFormEntity.java#L102-L104]
>
> This issue was identified in clj-http. See
> [https://github.com/dakrone/clj-http/issues/560]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]