Skip to content

netty: add soft Metadata size limit enforcement. #11603

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

Merged
merged 8 commits into from
Oct 28, 2024

Conversation

ran-su
Copy link
Member

@ran-su ran-su commented Oct 7, 2024

No description provided.

ran-su added 2 commits October 7, 2024 12:52
@ran-su ran-su requested a review from ejona86 October 7, 2024 21:33
@@ -217,6 +219,32 @@ public Void answer(InvocationOnMock invocation) throws Throwable {
channelRead(serializedSettings);
}

@Test
@SuppressWarnings("InlineMeInliner")
Copy link
Member

Choose a reason for hiding this comment

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

What was wanting to be inlined?

Copy link
Member Author

Choose a reason for hiding this comment

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

The inliner wants me to use string.repeat() instead of Strings.repeat() but that method is JDK 11+. I am not sure we want to use JDK 11 methods even for tests, so I suppressed the warning.

Copy link
Member

Choose a reason for hiding this comment

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

:-/ . That sort of thing is going to get more annoying. But ignoring it is right. We'll often put a comment on the line with the annotation (e.g., // String.repeat() requires Java 11) to make clear why it is there.

@ran-su ran-su merged commit 735b3f3 into grpc:master Oct 28, 2024
14 of 15 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants