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

chore: rework RPC version negotiation#15687

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

Merged
deansheather merged 5 commits intomainfromdean/rpc-version-rework
Dec 4, 2024

Conversation

deansheather
Copy link
Member

Changes the RPC header format fromcodervpn <version> <role> tocodervpn <role> <version1,version2,...>.

The versions list is a list of the maximum supported minor version for each major version, sorted by major versions.

E.g.1.0,2.3,3.1 means1.0, 2.0, 2.1, 2.2, 2.3, 3.0, 3.1 are supported.

When we eventually support multiple versions, the peer's version list will be compared against the current supported versions list to determine the maximum major and minor version supported by both peers.

Closes#15601

Changes the RPC header format from `codervpn <version> <role>` to`codervpn <role> <version1,version2,...>`.The versions list is a list of the maximum supported minor version foreach major version, sorted by major versions.E.g. `1.0,2.3,3.1` means `1.0, 2.0, 2.1, 2.2, 2.3, 3.0, 3.1` aresupported.When we eventually support multiple versions, the peer's version listwill be compared against the current supported versions list todetermine the maximum major and minor version supported by both peers.
Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

I don't have any blocking comments after reading, deferring approval to Ethan/Spike 👍

@deansheatherdeansheatherenabled auto-merge (squash)December 4, 2024 04:34
@deansheatherdeansheather merged commit14a6030 intomainDec 4, 2024
30 checks passed
@deansheatherdeansheather deleted the dean/rpc-version-rework branchDecember 4, 2024 09:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@johnstcnjohnstcnjohnstcn left review comments

@ethanndicksonethanndicksonethanndickson approved these changes

@spikecurtisspikecurtisAwaiting requested review from spikecurtisspikecurtis is a code owner

Assignees

@deansheatherdeansheather

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

VPN RPC protocol does not have good support for version negotiation
3 participants
@deansheather@johnstcn@ethanndickson

[8]ページ先頭

©2009-2025 Movatter.jp