mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
ws
This commit is contained in:
parent
e4c2b3c12e
commit
67218c0737
@ -488,6 +488,7 @@ type WSArgs struct {
|
||||
func (ws *WsServer) wsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
connContext := newContext(w, r)
|
||||
args, pErr := ws.ParseWSArgs(r)
|
||||
log.ZDebug(connContext, "ws req", "MsgResp", args.MsgResp, "query", r.URL.RawQuery)
|
||||
var wsLongConn *GWebSocket
|
||||
if args.MsgResp {
|
||||
wsLongConn = newGWebSocket(WebSocket, ws.handshakeTimeout, ws.writeBufferSize)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user