diff options
| author | amy <[email protected]> | 2025-04-14 14:09:22 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-14 14:09:22 -0500 |
| commit | dd7a8af4050454c3901987bff24a77334f892cc4 (patch) | |
| tree | 48c6107656e14cfbbcbb49424fc3454de850a5db /tests/net2.lua | |
| parent | 44c68aa7d51ea6b50c442bfbfa4ce11c530d2f7d (diff) | |
| parent | dc7e4527e88ed0c59e17c0ff04c01e1c92136e42 (diff) | |
Merge pull request #1 from ameliasquires/new-config
updates how config values are updated, support for local values when copying states, and annotations
Diffstat (limited to 'tests/net2.lua')
| -rw-r--r-- | tests/net2.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/net2.lua b/tests/net2.lua index 0ef3644..bb69051 100644 --- a/tests/net2.lua +++ b/tests/net2.lua @@ -1,6 +1,6 @@ --(this is in tests/net2.lua) net = require "lullaby.net" -crypto = require "lullaby.crypto" +local crypto = require "lullaby.crypto" local port = 8080 MAX_LENGTH = 2048 @@ -15,6 +15,7 @@ net.listen(function(server) --incremental hashes allow updating via addition, in this case adding the body and getting a string from it hash = (hash + req.Body):final() + print(hash, crypto) --send the hash to the client, closes connection, but thread is live until it ends res:send(hash) end) |
