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 some bugs with new handlers #1102

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jan 18, 2021

Motivation:

Manually wiring up the new handlers to run the rest of the test suite
highlighted a few rough edges.

Modifications:

  • Make sure compression is correctly set: it must be enabled on the
    server, in the call context, and - if applicable - on the individaul
    message. Add tests for this.
  • Call the error delegate in the right place.
  • Add a 'protocol violation' error.

Result:

Fewer bugs.

Motivation:

Manually wiring up the new handlers to run the rest of the test suite
highlighted a few rough edges.

Modifications:

- Make sure compression is correctly set: it must be enabled on the
  server, in the call context, and - if applicable - on the individaul
  message
- Call the error delegate in the right place
- Add a 'protocol violation' error

Result:

Fewer bugs.
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jan 18, 2021
@glbrntt glbrntt requested a review from Lukasa January 18, 2021 14:57
@glbrntt glbrntt merged commit 40e4e25 into grpc:main Jan 19, 2021
@glbrntt glbrntt deleted the gb-wire-up-handler-bugfixes branch January 19, 2021 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants