Przeglądaj źródła

Don't send unnecessary SNI in TLS handshake

Jakob Borg 11 lat temu
rodzic
commit
7af25c785d
1 zmienionych plików z 0 dodań i 1 usunięć
  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,