From 2b78444056dd0e43440c81d9c4f1a9b023956d92 Mon Sep 17 00:00:00 2001 From: Bala FA Date: Wed, 3 May 2017 15:53:15 +0530 Subject: [PATCH] fix: ignore TLS handshake error. (#4227) Fixes #4200 --- cmd/server-mux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/server-mux.go b/cmd/server-mux.go index 75839e26e..2e3128526 100644 --- a/cmd/server-mux.go +++ b/cmd/server-mux.go @@ -268,7 +268,7 @@ func newListenerMux(listener net.Listener, config *tls.Config) *ListenerMux { // is a TLS connection, if not we should close and reject // such a connection. if cerr = tlsConn.Handshake(); cerr != nil { - errorIf(cerr, "TLS handshake failed") + // Close for junk message. tlsConn.Close() return }