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

Decoding Error Exceptions #7

Open
jimcarreer opened this issue Jul 8, 2015 · 1 comment
Open

Decoding Error Exceptions #7

jimcarreer opened this issue Jul 8, 2015 · 1 comment

Comments

@jimcarreer
Copy link
Contributor

We would like to throw exceptions in the event of a decoding error (Huffman or HPACK). This work some-what blocks Issue #2 since proper fuzz testing would only really be nice with some kind of error handling framework. I would like to include the byte position decoding began at as well as how far we read from the byte string before the error was encountered if possible. I think it might also be nice (but not necessary) to include the headers that were successfully decoded up to that point.

@MC874
Copy link

MC874 commented Nov 19, 2022

Yep, It still produce HPackDecodingError:

hpack.exceptions.HPACKDecodingError: Unable to decode HPACK integer representation from <memory at 0x7f8b75ee9d80>

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

No branches or pull requests

2 participants