mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Allow specifying TLS SNI with ?sni= in peering URI
This commit is contained in:
parent
b333c7d7f3
commit
d8df9755f2
3 changed files with 10 additions and 5 deletions
|
@ -64,6 +64,7 @@ type tcpOptions struct {
|
|||
socksProxyAddr string
|
||||
socksProxyAuth *proxy.Auth
|
||||
socksPeerAddr string
|
||||
tlsSNI string
|
||||
}
|
||||
|
||||
func (l *TcpListener) Stop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue