aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorame <[email protected]>2024-01-29 16:06:48 -0600
committerame <[email protected]>2024-01-29 16:06:48 -0600
commitd7b99b806c2605b25171250e26052fa105b0c3cb (patch)
tree7da6cd9507674a3e6ee354f0cc6124d02a99d8c5 /tests
parent83520e8eb6254c5e3eaa9c0ad04563e09d06ff55 (diff)
docs and speed
Diffstat (limited to 'tests')
-rw-r--r--tests/net.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/net.lua b/tests/net.lua
index b5052a9..e9f041c 100644
--- a/tests/net.lua
+++ b/tests/net.lua
@@ -17,10 +17,7 @@ llib.io.pprint(llib.net.listen(
--res:send("hi");
--res.Code = 201
--sleep(1)
- local sec = tonumber(os.clock() + 1);
- while (os.clock() < sec) do
- end
- --res:send("<h2>hello world</h2>")
+ res:send("<h2>hello world</h2>")
end))
llib.io.pprint(server:GET("/test", function(res, req)