From 1a3c9baba11de446165e3c6bd2af59bb63265e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Thu, 1 Sep 2022 15:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0TAP=E6=B5=8B=E8=AF=95(TODO=20=E8=A7=A3?= =?UTF-8?q?=E6=9E=90arp)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpc_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc_client.go b/rpc_client.go index aa8c1d0..3d1e7d2 100644 --- a/rpc_client.go +++ b/rpc_client.go @@ -106,6 +106,7 @@ func (cli *RPCClient) run() { buf.Reset() cli.Lock(func() bool { Compress(buf, frames) + frames = frames[:0] return true })