mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user