Software /
code /
prosody
Diff
spec/net_websocket_frames_spec.lua @ 11164:4e5a2af9dd19 0.11
net.websocket.frames: Use C string XOR implementation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 14 Oct 2020 19:41:42 +0200 |
parent | 11162:ee399a0522cc |
child | 11165:eae8046d51fc |
line wrap: on
line diff
--- a/spec/net_websocket_frames_spec.lua Sat Sep 07 13:37:47 2019 +0200 +++ b/spec/net_websocket_frames_spec.lua Wed Oct 14 19:41:42 2020 +0200 @@ -36,7 +36,7 @@ ["opcode"] = 0; ["length"] = 5; ["data"] = "hello"; - ["key"] = { 32, 0, 32, 0, }; + ["key"] = " \0 \0"; ["FIN"] = true; ["MASK"] = true; ["RSV1"] = false;