Skip to content

Comments

netty: add soft Metadata size limit enforcement.#11603

Merged
ran-su merged 8 commits intogrpc:masterfrom
ran-su:metadata-soft-limit
Oct 28, 2024
Merged

netty: add soft Metadata size limit enforcement.#11603
ran-su merged 8 commits intogrpc:masterfrom
ran-su:metadata-soft-limit

Conversation

@ran-su
Copy link
Member

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

No description provided.

@ran-su ran-su requested a review from ejona86 October 7, 2024 21:33
}

@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
@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.

2 participants