11
This commit is contained in:
parent
e0afbb209c
commit
b8a6351e72
|
@ -45,6 +45,8 @@ func (w *wsConnectItem) reuseLastConnect(data []byte) {
|
|||
}
|
||||
//是当前自己占用(无需处理)
|
||||
if obj.uniqueId == w.uniqueId {
|
||||
rsp := w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid)
|
||||
w.sendToOutChan(rsp)
|
||||
return
|
||||
} else {
|
||||
w.reuseLastConnErrResponse("the wid is used by other people")
|
||||
|
|
Loading…
Reference in New Issue
Block a user