From 7af25c785d621bc8384f6de0d59c55c1ded52f00 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 29 Nov 2014 20:58:24 +0100 Subject: [PATCH] Don't send unnecessary SNI in TLS handshake --- cmd/syncthing/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index f2ce4f71e..bd95d019e 100644 --- a/cmd/syncthing/main.go +++ b/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,