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

Add error handling to a few error conditions #903

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

stanley-cheung
Copy link
Collaborator

Fixes #881

Added error handling on a few categories of errors:

  1. Incomplete response - receive a valid beginning of a grpc-web frame (i.e. receive the frame length), but never receive the full rest of the frame.

  2. Invalid protobuf payload - receive a valid and complete grpc-web frame, but the protobuf fails to deserialize properly.

  3. Invalid grpc-web frame - receive an invalid grpc-web frame that fails to parse to the grpc-web wire format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

silent fails on invalid deserialization
1 participant