You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Raymond Huang (Jira)" <ji...@apache.org> on 2020/11/12 05:45:00 UTC
[jira] [Created] (HTTPASYNC-163) Unable to upload
MultipartFormEntity larger than 25 kb
Raymond Huang created HTTPASYNC-163:
---------------------------------------
Summary: 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
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org