mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 11:06:43 +08:00
ws update
This commit is contained in:
parent
7e7d5fc41b
commit
c8ba439a2c
@ -71,6 +71,9 @@ func (c *Client) ResetClient(ctx *UserConnContext, conn LongConn, isCompress boo
|
|||||||
c.userID = ctx.GetUserID()
|
c.userID = ctx.GetUserID()
|
||||||
c.ctx = ctx
|
c.ctx = ctx
|
||||||
c.longConnServer = longConnServer
|
c.longConnServer = longConnServer
|
||||||
|
c.isBackground = false
|
||||||
|
c.closed = false
|
||||||
|
c.closedErr = nil
|
||||||
}
|
}
|
||||||
func (c *Client) pongHandler(_ string) error {
|
func (c *Client) pongHandler(_ string) error {
|
||||||
c.conn.SetReadDeadline(pongWait)
|
c.conn.SetReadDeadline(pongWait)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user