Jelajahi Sumber

Don't send unnecessary SNI in TLS handshake

Jakob Borg 11 tahun lalu
induk
melakukan
7af25c785d
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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,