Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(destination): Add destination profile protocol#443

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
sfleen wants to merge1 commit intolinkerd:main
base:main
Choose a base branch
Loading
fromsfleen:proto-config

Conversation

sfleen
Copy link

Currently, we only have a way of specifying if a destination is opaque and not any other protocol.

This adds a newprotocol field (supercedingopaque_protocol) that lets the destination controller set the protocol a destination expects.

Currently, we only have a way of specifying if a destination is opaque and not any other protocol.This adds a new `protocol` field (superceding `opaque_protocol`) that lets the destination controller set the protocol a destination expects.Signed-off-by: Scott Fleener <scott@buoyant.io>

enum Protocol {
// An unknown protocol was set by the user.
UNKNOWN = 0;
Copy link
Author

Choose a reason for hiding this comment

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

This is the important part of this change, and also the one I'm not 100% sure about.

It may make sense to combine the UNKNOWN and OPAQUE cases, since we'd expect the proxy to treat it the same in both cases.

I'm also not sure if we need an explicit DETECT case. Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

I'd argue that if any should be combined, it should be UNKNOWN and DETECT. if the protocol is UNKNOWN, I would expect the proxy to do protocol detection whereas if the protocol is OPAQUE, I would expect the proxy to skip protocol detection.

Copy link
Author

Choose a reason for hiding this comment

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

The reasoning here is that if the protocol is UNKNOWN, that means the user has set a protocol, it's just one we don't recognize. IMO treating it as opaque seems the most appropriate here.

@sfleensfleen marked this pull request as ready for reviewFebruary 18, 2025 20:37
@olix0rolix0r marked this pull request as draftMarch 4, 2025 18:02
@olix0rolix0r self-assigned thisMar 4, 2025
@olix0rolix0r self-requested a reviewMarch 4, 2025 18:02
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@adleongadleongadleong left review comments

@olix0rolix0rAwaiting requested review from olix0r

At least 1 approving review is required to merge this pull request.

Assignees

@olix0rolix0r

@adleongadleong

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@sfleen@adleong@olix0r

[8]ページ先頭

©2009-2025 Movatter.jp