mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 17:30:20 +08:00
错误处理
This commit is contained in:
1 parent
55b0c4b98b
commit
26c7ba96af
3 files changed
+375
-3
No files matched your search
@@ -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