Skip to content
New issue

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

Adjust lineio reader buffer math to 25 MB #5048

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Conversation

philrz
Copy link
Contributor

@philrz philrz commented Feb 23, 2024

While verifying the fix in #5045 I noticed that the math to calculate the 25 MB buffer seemed to contain a typo (it said 2014 in one spot instead of 1024).

Fixes #5043

@philrz philrz requested review from mattnibs and a team February 23, 2024 00:39
@philrz philrz self-assigned this Feb 23, 2024
@philrz philrz merged commit f9325b7 into main Feb 23, 2024
3 checks passed
@philrz philrz deleted the fix-line-max-buf-size branch February 23, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bufio scanner token too long
2 participants