mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
feat: remove redundant readline (#1027)
This commit is contained in:
parent
94a4199855
commit
35e48b6144
@ -136,7 +136,6 @@ func (c *Client) readMessage() {
|
|||||||
}
|
}
|
||||||
switch messageType {
|
switch messageType {
|
||||||
case MessageBinary:
|
case MessageBinary:
|
||||||
_ = c.conn.SetReadDeadline(pongWait)
|
|
||||||
parseDataErr := c.handleMessage(message)
|
parseDataErr := c.handleMessage(message)
|
||||||
if parseDataErr != nil {
|
if parseDataErr != nil {
|
||||||
c.closedErr = parseDataErr
|
c.closedErr = parseDataErr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user