- Notifications
You must be signed in to change notification settings - Fork915
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
There was a problem hiding this 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 👍
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
14a6030
intomainUh oh!
There was an error while loading.Please reload this page.
Changes the RPC header format from
codervpn <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