[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186498#comment-17186498
 ] 

ASF subversion and git services commented on HTTPCLIENT-2112:
-------------------------------------------------------------

Commit 45c45d53e0e3ad9c5adccf4af8404981c69d2c3c in httpcomponents-client's 
branch refs/heads/master from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=45c45d5 ]

HTTPCLIENT-2112: AbstractMultipartFormat respects ByteBuffer.arrayOffset (#253)



> AbstractMultipartFormat uses ByteBuffer.array without arrayOffset
> -----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2112
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2112
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async), HttpClient (classic)
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The offset of charset.encode results are unlikely to use a nonzero offset (or 
> non-heap) however we should check the offset to be safe.
> I may file an issue on httpcomponents-core to add a 
> {{ByteArrayBuffer.append(ByteBuffer)}} method to avoid this complexity at 
> call sites.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to