fix https server crash

This commit is contained in:
rui.zheng
2017-08-04 17:59:26 +08:00
parent c28e712560
commit 821ab4d3b7
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func TLSListener(addr string, config *tls.Config) (Listener, error) {
if err != nil {
return nil, err
}
return &tlsListener{tcpKeepAliveListener{ln.(*net.TCPListener)}}, nil
return &tlsListener{ln}, nil
}
// Wrap a net.Conn into a client tls connection, performing any