Browse Source

Don't send unnecessary SNI in TLS handshake

Jakob Borg 11 năm trước cách đây
mục cha
commit
7af25c785d
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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,