Explorar el Código

Don't send unnecessary SNI in TLS handshake

Jakob Borg hace 11 años
padre
commit
7af25c785d
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      cmd/syncthing/main.go

+ 0 - 1
cmd/syncthing/main.go

@@ -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,