修正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"))
|
error((code or"XXX")..":"..(res and res.reason or"Server Error"))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
SOCK:settimeout(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
local YIELD=coroutine.yield
|
local YIELD=coroutine.yield
|
||||||
|
|||||||
Reference in New Issue
Block a user