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

h2 server panics when receiving headers that look like response #690

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

f0rki
Copy link
Contributor

@f0rki f0rki commented Jun 12, 2023

Sending a response frame to an h2 server triggers a panic. this PR makes the take_request function return a Result instead of panicking.

Michael Rodler added 2 commits June 12, 2023 15:37
…est` function return a Result

Signed-off-by: Michael Rodler <[email protected]>
Reviewed-by: Daniele Ahmed <[email protected]>
Signed-off-by: Michael Rodler <[email protected]>
Reviewed-by: Daniele Ahmed <[email protected]>
@seanmonstar seanmonstar merged commit 97bc3e3 into hyperium:master Jun 12, 2023
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.

2 participants