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

Client returns Internal instead of OutOfRange for send message limited #1334

Open
LucioFranco opened this issue Mar 29, 2023 · 1 comment
Open

Comments

@LucioFranco
Copy link
Member

When a client has max_encoding_message_size set and they attempt to send a message that is larger than the limit they get a Code::Internal error with some h2 errors which don't point out that it was a gRPC error. This should actually return OutOfRange back to the client instead of internal.

@FrankReh
Copy link
Contributor

Started to investigate this. Created a discussion over on hyper with my question and where I had been looking so far. hyperium/hyper#3716

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