Skip to content

Added additional info to read_list error. #154

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Frostie314159
Copy link

Hi, this PR adds additional info to the error message in ParseBuffer::read_list, by logging the type and max number of entries. I added this while trying to fix #153, which was difficult, since the error message contained no info about the parsing step that caused the issue. I also took the liberty to let clippy fix a number of warnings.

@lulf
Copy link
Member

lulf commented May 23, 2025

Could you rebase this on main?

@Frostie314159
Copy link
Author

Sure. Should I remove the #[allow(dead_code)], that caused the conflict?

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.

Parsing ServerHello incorrectly reports insufficient space.
2 participants