Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in CharsetValidator
The `CharsetValidator` has a static singleton instance at `BinaryTruncator.DEFAULT_UTF8_TRUNCATOR.validator`, so it can be accessed from multiple threads. Before the change, all threads would operate on a shared "dummy buffer" for decoding.
- Loading branch information