Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear Utf8ByteBufCharsetDecoder#splitCharBuffer once char is complete, …
…close #1357 Motivation: When multiple non US-ASCII chars are split over several chunks, Utf8ByteBufCharsetDecoder crashes with BufferOverflowException. This happens because we don't clear the splitCharBuffer in-between and only do so once decoding is done. Modifications: Clear Utf8ByteBufCharsetDecoder#splitCharBuffer once char is complete Result: No more BufferOverflowException
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters