feat: remove redundant readline (#1027)

test/release-v3.3
charlie liu 1 year ago committed by GitHub
parent 94a4199855
commit 35e48b6144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,7 +136,6 @@ func (c *Client) readMessage() {
}
switch messageType {
case MessageBinary:
_ = c.conn.SetReadDeadline(pongWait)
parseDataErr := c.handleMessage(message)
if parseDataErr != nil {
c.closedErr = parseDataErr

Loading…
Cancel
Save