[
https://issues.apache.org/jira/browse/HTTPCORE-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924001#comment-16924001
]
ASF subversion and git services commented on HTTPCORE-597:
----------------------------------------------------------
Commit 0cb51672f7316b8b4423a78bec4cab5cea4e0059 in httpcomponents-core's branch
refs/heads/bug-fixes from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-core.git;h=0cb5167 ]
HTTPCORE-597: AsyncEntityProducers#createText always throws
IllegalArgumentException
> AsyncEntityProducers.createText() always throws IllegalArgumentException
> ------------------------------------------------------------------------
>
> Key: HTTPCORE-597
> URL: https://issues.apache.org/jira/browse/HTTPCORE-597
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore NIO
> Affects Versions: 5.0-beta8
> Reporter: Roy Hashimoto
> Priority: Major
>
> AsyncEntityProducers.createText() calls this constructor:
> AbstractCharAsyncEntityProducer(0, 4096, contentType)
> [https://github.com/apache/httpcomponents-core/blob/1a3aff635fa20101373412d1b56ae1b4bd96de1f/httpcore5/src/main/java/org/apache/hc/core5/http/nio/entity/AsyncEntityProducers.java#L118]
> The constructor asserts that the first argument must be strictly positive:
> [https://github.com/apache/httpcomponents-core/blob/b6b41e5a9284293e5c5ed5af5d8528c40c92cd43/httpcore5/src/main/java/org/apache/hc/core5/http/nio/entity/AbstractCharAsyncEntityProducer.java#L69]
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]