diff options
| author | ame <[email protected]> | 2024-07-11 12:27:06 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-07-11 12:27:06 -0500 |
| commit | c57e5e58e197fca322c2840efa435eabb62e4d9d (patch) | |
| tree | 7d5bc653f6bec52494604ac8c805e311bae080f4 /tests/net.lua | |
| parent | 2999d3412ccf5c7fc1a9e84695c7a2bce69d3e82 (diff) | |
fixes to ub:33 hashes now safe
Diffstat (limited to 'tests/net.lua')
| -rw-r--r-- | tests/net.lua | 5 |
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")
|
