aboutsummaryrefslogtreecommitdiff
path: root/tests/net.lua
diff options
context:
space:
mode:
authorame <[email protected]>2024-07-11 12:27:06 -0500
committerame <[email protected]>2024-07-11 12:27:06 -0500
commit027c7a7622a4aa4d0ed6483ba495ab91e0c68991 (patch)
tree7d5bc653f6bec52494604ac8c805e311bae080f4 /tests/net.lua
parent90a2acc2f0c9d3904e1dea737e45ef6b10f96a22 (diff)
fixes to ub:33 hashes now safe
Diffstat (limited to 'tests/net.lua')
-rw-r--r--tests/net.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/net.lua b/tests/net.lua
index 88b551e..617d299 100644
--- a/tests/net.lua
+++ b/tests/net.lua
@@ -12,7 +12,6 @@ local wowa = 5
_G._llib = _G.llib
--_G.ww = llib
--llib.io.pprint(_G)
-a = llib.crypto.md5
llib.net.listen(
function(server)
--llib = nil
@@ -20,7 +19,7 @@ llib.net.listen(
llib.io.pprint("online")
_G.server = server
server:all("/", function(res, req)
- b = a("hello")
+ b = llib.crypto.md5("hello")
--llib.io.pprint(a + '5')
res:send(b)
@@ -58,7 +57,7 @@ llib.net.listen(
print(req._bytes .. "/" .. req["Content-Length"])
--print(a)
end
- --_G.llib.io.pprint(req.files)
+ llib.io.pprint(req)
--_G.llib.io.pprint(req)
--_G.llib.io.pprint("hi")
--res:send("done")