修正ws模块连接成功后没有把timeout设为0

This commit is contained in:
MrZ626
2021-08-04 00:31:31 +08:00
parent dc586ad82e
commit 167e77ddf2

View File

@@ -57,6 +57,7 @@ do--Connect
error((code or"XXX")..":"..(res and res.reason or"Server Error"))
end
end
SOCK:settimeout(0)
end
local YIELD=coroutine.yield