Skip to content

Conversation

@gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Jan 24, 2024

Motivation

In #1768 we added a GRPCMessageFramer to frame messages with gRPC's metadata. This type should also take care of compressing the payloads, if so configured.

Modifications

This PR adds compression logic to the GRPCMessageFramer.

## Result
If set up to do so, payloads will now be compressed by the GRPCMessageFramer.

@gjcairo gjcairo requested review from glbrntt and removed request for glbrntt January 24, 2024 14:23
@gjcairo gjcairo mentioned this pull request Jan 24, 2024
@gjcairo gjcairo requested a review from glbrntt January 24, 2024 15:02
@gjcairo gjcairo force-pushed the framer-compression branch from bf68f0b to 04bae73 Compare January 24, 2024 15:09
@gjcairo gjcairo marked this pull request as ready for review January 24, 2024 15:09
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.

Looks good modulo one nit

@gjcairo gjcairo enabled auto-merge (squash) January 24, 2024 15:23
@gjcairo gjcairo merged commit a260bb3 into grpc:main Jan 24, 2024
@gjcairo gjcairo deleted the framer-compression branch January 24, 2024 15:55
glbrntt pushed a commit to glbrntt/grpc-swift that referenced this pull request Feb 5, 2024
@glbrntt glbrntt added the version/v2 Relates to v2 label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version/v2 Relates to v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants