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

fix: do not panic while encoding oversized bodies #1142

Merged
merged 2 commits into from Nov 10, 2022

Conversation

crepererum
Copy link
Contributor

Motivation

Fixes #1141.

Solution

Replace assertion w/ an ordinary error path.

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM this seems extremely logical and a good change: :D

@LucioFranco LucioFranco merged commit 33e22bb into hyperium:master Nov 10, 2022
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.

Returning body w/ >4GB data panics
2 participants