mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 18:36:19 +08:00
feat: conn update token
This commit is contained in:
parent
92f64ddf7c
commit
dbc4fd5e4a
@ -312,7 +312,7 @@ func (ws *WsServer) wsHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
client := ws.clientPool.Get().(*Client)
|
client := ws.clientPool.Get().(*Client)
|
||||||
client.ResetClient(connContext, wsLongConn, connContext.GetBackground(), compression, ws)
|
client.ResetClient(connContext, wsLongConn, connContext.GetBackground(), compression, ws, token)
|
||||||
ws.registerChan <- client
|
ws.registerChan <- client
|
||||||
go client.readMessage()
|
go client.readMessage()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user