GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for #1741.
Fix interleaving fast and slow paths in readUntilSmall. Fixes #1741.
Also fixes handling of the max_bytes parameter in the fast path.
Avoid the slow path for end markers of size 2.
Merge pull request #1761 from rejectedsoftware/issue_1741_read_until
Fix readUntilSmall/readLine for cases where the peek and the read paths are mixed