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

Tolerate identity compression as no compression #1016

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

Lukasa
Copy link
Collaborator

@Lukasa Lukasa commented Oct 25, 2020

Motivation:

The GRPC specification acknowledges that "identity" is a way to say "no
compression", but when the user has disabled compression support we
refuse it as a compression format. That's not right.

Modifications:

  • Add code to validate that the compression format isn't identity.
  • Add some tests for newly added code.

Results:

Resolves #1005.

@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Oct 25, 2020
@Lukasa Lukasa requested a review from glbrntt October 25, 2020 09:52
Motivation:

The GRPC specification acknowledges that "identity" is a way to say "no
compression", but when the user has disabled compression support we
refuse it as a compression format. That's not right.

Modifications:

- Add code to validate that the compression format isn't identity.
- Add some tests for newly added code.

Results:

Resolves grpc#1005.
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Great, thanks @Lukasa

@glbrntt glbrntt merged commit 7346c61 into grpc:main Oct 26, 2020
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
2 participants