Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_readline_encoded_string() used to wait for max_bytes_per_codepoint bytes, which is 4 in case of UTF-8. However, as UTF-8 is variable-length, there's no guarantee that we'll actually receive that many bytes and we might hang until the stream gets closed.
- Loading branch information