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

Do not cancel RPC if send metadata size if larger than peer's limit #23806

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

yashykt
Copy link
Member

@yashykt yashykt commented Aug 12, 2020

This setting is advisory in nature and the peer might or might not enforce this limit. Additionally, since gRPC does not expose this peer limit back to the application, the application can not take an informed decision either on whether some metadata should be omitted. Given this nature of the arg, it makes sense to not enforce this setting on the send side, and leave it upto the receive side to choose to enforce it.

Refer - https://tools.ietf.org/html/rfc7540#section-10.5.1

@yashykt yashykt added the release notes: no Indicates if PR should not be in release notes label Aug 12, 2020
@yashykt yashykt changed the title Do not cancel RPC if metadata size if larger than peer's limit Do not cancel RPC if send metadata size if larger than peer's limit Aug 13, 2020
@yashykt yashykt added lang/core release notes: yes Indicates if PR needs to be in release notes and removed release notes: no Indicates if PR should not be in release notes labels Aug 13, 2020
@yashykt
Copy link
Member Author

yashykt commented Aug 15, 2020

Thanks for reviewing!

@yashykt yashykt merged commit e49a1da into grpc:master Aug 15, 2020
@yashykt yashykt deleted the donotcancel branch May 18, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/core release notes: yes Indicates if PR needs to be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants