mirror of
https://github.com/ginuerzh/gost.git
synced 2024-04-21 12:31:34 +00:00
fix https server crash
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user