[
https://issues.apache.org/jira/browse/HTTPCORE-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921004#action_12921004
]
Oleg Kalnichevski commented on HTTPCORE-239:
--------------------------------------------
Looks very reasonable. A test case to go with would be just great.
Oleg
> The ChunkEncoder could request for a negative buffer limit causing an
> IllegalArgumentException
> ----------------------------------------------------------------------------------------------
>
> Key: HTTPCORE-239
> URL: https://issues.apache.org/jira/browse/HTTPCORE-239
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore NIO
> Affects Versions: 4.1-beta2
> Reporter: Asankha C. Perera
> Fix For: 4.1
>
> Attachments: httpcore-239.patch
>
>
> An occurrence of this issue causes the following stacktrace:
> java.lang.IllegalArgumentException
> at java.nio.Buffer.limit(Buffer.java:249)
> at org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:99)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]