修正ws模块连接成功后没有把timeout设为0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user