[
https://issues.apache.org/jira/browse/DEFT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069525#comment-13069525
]
Roger Schildmeijer commented on DEFT-167:
-----------------------------------------
Sorry about the confusion (Some of the confusion is probably my bad).
The encoding/decoding code in the web server component (HttpRequest.of and
HttpRequest.continueParsing) is not perfect and needs an overhaul..
I think Séven is correct in the comment above regarding the charsets.
> Use CharsetDecoder to convert ByteBuffer to String
> --------------------------------------------------
>
> Key: DEFT-167
> URL: https://issues.apache.org/jira/browse/DEFT-167
> Project: Deft
> Issue Type: Improvement
> Reporter: Michele Zuccalà
> Priority: Minor
>
> My research has shown that CharsetDecoders are much faster for the conversion
> of a ByteBuffer into a String.
> Take a look here for this simple improvement:
> https://github.com/ilmich/deft/commit/6914e922051d4e0e050a58daea2790091c236b7c
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira