diff options
| author | ame <[email protected]> | 2025-02-11 02:36:44 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2025-02-11 02:36:44 -0600 |
| commit | 590135ce9a1cb629c9cc31c9c528feac3885f7fc (patch) | |
| tree | e3dbd795d2a6a017fc814a1bb5497b07047aff9b /tests/wss.lua | |
| parent | e7cafd86b947ad654c8081e238faba4df5bd3c33 (diff) | |
fixes and asan slopgit add .
Diffstat (limited to 'tests/wss.lua')
| -rw-r--r-- | tests/wss.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/wss.lua b/tests/wss.lua index 1344e0b..d6383a1 100644 --- a/tests/wss.lua +++ b/tests/wss.lua @@ -1,12 +1,14 @@ llby = require("lullaby") -local ws = llby.net.wss("echo.websocket.org", 443) +local ws = llby.net.wss("echo.websocket.org:443") -for i=1,500 do - local c = ws:read() +for i=1,10 do + local c = ws:read().content print(c) ws:write(c.."a") end + +ws:close() ws:close() --ws:ping() |
