diff options
Diffstat (limited to 'tests/net.lua')
| -rw-r--r-- | tests/net.lua | 5 |
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)
|
