-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Consider removing "dispatch dropped without returning error" #2649
Comments
Yea, we can do better. We probably can't completely remove the panic, since the
We can add a |
Is your feature request related to a problem? Please describe.
Hyper panics with "dispatch dropped without returning error" if the background dispatch task goes away, either because the runtime was dropped or some user-provided code such as a HttpBody implementation panicked
Describe the solution you'd like
Hyper should catch the panic and return a proper error instead of panicking with "dispatch dropped without returning error".
Cc @seanmonstar
The text was updated successfully, but these errors were encountered: