Closed MarcoPolo closed 1 year ago
just out of interest - why does
sni
need an entry?
We're using it in multiaddrs so that clients can set the SNI of a TLS handshake even if they've already resolved the domain name to an ip address.
See: https://github.com/multiformats/multiaddr/pull/138#issue-1365445793 and https://github.com/libp2p/go-libp2p/pull/1719#issue-1351286164. It's also part of the multiaddr README so the idea has been around for a while.
These three codecs were defined in the multiaddr repo but not here. This syncs up the codec tables. I also added a checker to the multiaddr repo that will flag when this happens again in the future (https://github.com/multiformats/multiaddr/pull/142).