From 35e48b61447b05b49f941b7a6cb34320dd0e2df9 Mon Sep 17 00:00:00 2001 From: charlie liu <60168989+charlie-bit@users.noreply.github.com> Date: Thu, 7 Sep 2023 17:00:02 +0800 Subject: [PATCH] feat: remove redundant readline (#1027) --- internal/msggateway/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/msggateway/client.go b/internal/msggateway/client.go index 9f612e021..e6fdf7a39 100644 --- a/internal/msggateway/client.go +++ b/internal/msggateway/client.go @@ -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