错误处理

This commit is contained in:
刘河
2019-01-11 21:07:49 +08:00
parent 55b0c4b98b
commit 26c7ba96af
3 changed files with 375 additions and 3 deletions

View File

@@ -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
}