1. 增加代码注释

2. 增加通用encoding层
This commit is contained in:
lwch
2023-02-01 17:08:09 +08:00
parent a4c397c5ef
commit bc5d709dcb
11 changed files with 334 additions and 73 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ func (code *Code) new(conn *conn.Conn) (string, error) {
return "", errWaitingTimeout
}
if msg.GetXType() != network.Msg_connect_rep {
conn.Reset(id, msg)
conn.Requeue(id, msg)
time.Sleep(code.readTimeout / 10)
continue
}