错误处理

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

No files matched your search

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