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

Track if proxy protocol messages need buffering #1669

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Conversation

jguerra
Copy link
Collaborator

@jguerra jguerra commented Oct 20, 2023

No description provided.

.attr(SourceAddressChannelHandler.ATTR_SERVER_LOCAL_PORT)
.get();

String needsMoreData = haProxyState == ProtocolDetectionState.NEEDS_MORE_DATA ? "true" : "false";
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit:

String needsMoreData = String.valueOf(haProxyState == ProtocolDetectionState.NEEDS_MORE_DATA);

Copy link
Collaborator

@gavinbunney gavinbunney Oct 20, 2023

Choose a reason for hiding this comment

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

Or better yet, also move it into the registry.counter

@jguerra jguerra merged commit c005516 into master Oct 20, 2023
7 checks passed
@jguerra jguerra deleted the jg/pp_metrics branch February 29, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants