mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 17:56:56 +00:00
错误处理
This commit is contained in:
@@ -101,7 +101,6 @@ re:
|
||||
//获取连接的host type(tcp or udp)
|
||||
typeStr, host, en, de, crypt, mux, err := c.GetHostFromConn()
|
||||
if err != nil {
|
||||
log.Println("get host info error:", err)
|
||||
c.Close()
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user