diff --git a/tapeget.lua b/tapeget.lua index 62772cd..42d7785 100644 --- a/tapeget.lua +++ b/tapeget.lua @@ -25,7 +25,11 @@ while true do local chunk = req.read() if not chunk then print("EOF") + break end tape.write(chunk) end +tape.stop() +tape.seek(-tape.getSize()) +tape.stop()