瀏覽代碼

Don't send unnecessary SNI in TLS handshake

Jakob Borg 11 年之前
父節點
當前提交
7af25c785d
共有 1 個文件被更改,包括 0 次插入1 次删除
  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,