mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
parent
9b58a669e5
commit
2b78444056
@ -268,7 +268,7 @@ func newListenerMux(listener net.Listener, config *tls.Config) *ListenerMux {
|
|||||||
// is a TLS connection, if not we should close and reject
|
// is a TLS connection, if not we should close and reject
|
||||||
// such a connection.
|
// such a connection.
|
||||||
if cerr = tlsConn.Handshake(); cerr != nil {
|
if cerr = tlsConn.Handshake(); cerr != nil {
|
||||||
errorIf(cerr, "TLS handshake failed")
|
// Close for junk message.
|
||||||
tlsConn.Close()
|
tlsConn.Close()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user