From 4ae14b6c7334ef87c4210f4b7a4874e027698ab6 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 8 Jun 2021 07:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=85=88=E6=88=AA=E6=96=ADws?= =?UTF-8?q?=E8=A2=AB=E6=96=AD=E5=BC=80=E6=97=B6=E6=B6=88=E6=81=AF=E4=B8=AD?= =?UTF-8?q?=E5=89=8D=E4=B8=A4=E5=AD=97=E8=8A=82=E7=9A=84close=20code?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/websocket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/websocket.lua b/Zframework/websocket.lua index 56492f44..7825c7ff 100644 --- a/Zframework/websocket.lua +++ b/Zframework/websocket.lua @@ -189,7 +189,7 @@ while true do--Running readCHN:push(op) SOCK:close() if type(res)=='string'then - readCHN:push(res)--Warning: with 2 bytes close code + readCHN:push(res:sub(3))--Warning: with 2 bytes close code else readCHN:push("WS Error") end