made wget less needy.
This commit is contained in:
parent
3dff3ce99e
commit
064064eb26
@ -5,6 +5,7 @@ function wget(url)
|
|||||||
until R.finishConnect()
|
until R.finishConnect()
|
||||||
S=""
|
S=""
|
||||||
repeat
|
repeat
|
||||||
|
coroutine.yield()
|
||||||
ns = R.read(2048)
|
ns = R.read(2048)
|
||||||
S = S .. (ns or "")
|
S = S .. (ns or "")
|
||||||
until not ns
|
until not ns
|
||||||
|
Loading…
Reference in New Issue
Block a user