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

grpc-accept-encoding checks #6499

Merged
merged 1 commit into from
May 18, 2016

Conversation

dgquintas
Copy link
Contributor

Warn when receiving data with a grpc-encoding not present in the call's grpc-accept-encoding.

(also renamed grpc_compress_filter_trace to the more suitable grpc_compression_trace)

"'0x%x')",
algo_name, call->encodings_accepted_by_peer);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

You might want to fail the batch here: bctl->success = false (and not execute the next set of instructions to set a deadline alarm).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are only logging here. Note the gpr_log() is only enabled for the compression trace.

@sreecha
Copy link
Contributor

sreecha commented May 18, 2016

LGTM

@jtattermusch jtattermusch merged commit deb8c3e into grpc:master May 18, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 27, 2019
@lock lock bot unassigned sreecha Jan 27, 2019
@thelinuxfoundation
Copy link

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.

After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

Regards,
CLA GitHub bot

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

Successfully merging this pull request may close these issues.

5 participants