From e0d8c0bf426544e38e265221fd8c0362428e4c00 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Thu, 26 Dec 2019 21:44:42 +0000 Subject: [PATCH] Update the download lua for better receiving. --- download.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/download.lua b/download.lua index 9ebbc04..4624f0b 100644 --- a/download.lua +++ b/download.lua @@ -74,6 +74,7 @@ local function readc(con) if tmp ~= nil then if tmp ~= "" then data = data..tmp + con:setTimeout(0) end end end, @@ -87,6 +88,7 @@ local function readc(con) if data == "" then data = nil end + con:setTimeout(5) return data end