Allow specifying TLS SNI with ?sni= in peering URI

This commit is contained in:
Neil Alexander 2021-07-28 22:11:20 +01:00
parent b333c7d7f3
commit d8df9755f2
3 changed files with 10 additions and 5 deletions

View file

@ -64,6 +64,7 @@ type tcpOptions struct {
socksProxyAddr string
socksProxyAuth *proxy.Auth
socksPeerAddr string
tlsSNI string
}
func (l *TcpListener) Stop() {