Forgot to break and rewind
This commit is contained in:
parent
5594f70fe4
commit
666a0127e1
|
@ -25,7 +25,11 @@ while true do
|
||||||
local chunk = req.read()
|
local chunk = req.read()
|
||||||
if not chunk then
|
if not chunk then
|
||||||
print("EOF")
|
print("EOF")
|
||||||
|
break
|
||||||
end
|
end
|
||||||
tape.write(chunk)
|
tape.write(chunk)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
tape.stop()
|
||||||
|
tape.seek(-tape.getSize())
|
||||||
|
tape.stop()
|
||||||
|
|
Loading…
Reference in New Issue