Don't send unnecessary SNI in TLS handshake

This commit is contained in:
Jakob Borg 2014-11-29 20:58:24 +01:00
parent 4de39b205d
commit 7af25c785d

View File

@ -439,7 +439,6 @@ func syncthingMain() {
tlsCfg := &tls.Config{
Certificates: []tls.Certificate{cert},
NextProtos: []string{"bep/1.0"},
ServerName: myID.String(),
ClientAuth: tls.RequestClientCert,
SessionTicketsDisabled: true,
InsecureSkipVerify: true,