-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add SNI to protocols.csv #138
Conversation
@@ -21,6 +21,7 @@ code, size, name, comment | |||
446, V, garlic64, | |||
447, V, garlic32, | |||
448, 0, tls, Transport Layer Security | |||
449, V, sni, Server Name Indication RFC 6066 § 3 |
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.
Isn't it great that we use base 10 here and base 16 in go-multiaddr? 🥺
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.
This change looks good to me.
As far as I can tell, this is missing an update to https://github.com/multiformats/multicodec/blob/master/table.csv, correct? @MarcoPolo can you do the update?
On a general note, I would suggest keeping pull requests open for longer than 12h before merging. That would allow everyone in the community to comment, no matter which timezone they are in. Based on past experience, pull requests to multiformats/multiaddr are usually not urgent, thus the delay would not hurt productivity.
Would folks agree with the above suggestion?
Ah thanks. I didn't realize we had these two sources of truth. That doesn't seem ideal. I wonder if there's a strategy we can use to keep them in sync. Maybe a CI check in this repo?
Sounds good to me. What should the timeout be? 24 hours? This change I considered pretty uncontroversial because there's been an I'll make a PR template to make these things explicit. |
Adds the JS part of multiformats/multiaddr#138
This registers the SNI component which can be used by transports to set the sni field in their client hello. See RFC 6066 section 3 for more details.
We need this so that secure websocket clients can know what SNI to send when connecting to an ip address.