mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
1. 增加代码注释
2. 增加通用encoding层
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user