This commit is contained in:
laodaming 2023-08-28 10:22:51 +08:00
parent e0afbb209c
commit b8a6351e72

View File

@ -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")