Closed MarcoPolo closed 2 years ago
I'm closing this since I agree with Marten. This isn't the spot for the SNI field. This spec is around how we tie a peer id to a tls connection with the libp2p extension. What I'm trying to do is outside of that. And is a way to specify an SNI for a tls connection in general (not specific to this libp2p extension).
I think to better explain this I need to better explain multiaddrs and how we interpret them. That's a different document. I'll close this and start the "how we interpret multiaddr" doc.
Thanks for the feedback all
Adds SNI to the TLS negotiation spec. Increments the minor version.
We need SNI for wss (secure websockets) to work and we should document its usage.