Mercurial > prosody-hg
comparison 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 |
| parents | ee399a0522cc |
| children | eae8046d51fc |
comparison
equal
deleted
inserted
replaced
| 11163:37a6a535343e | 11164:4e5a2af9dd19 |
|---|---|
| 34 }; | 34 }; |
| 35 with_mask = { | 35 with_mask = { |
| 36 ["opcode"] = 0; | 36 ["opcode"] = 0; |
| 37 ["length"] = 5; | 37 ["length"] = 5; |
| 38 ["data"] = "hello"; | 38 ["data"] = "hello"; |
| 39 ["key"] = { 32, 0, 32, 0, }; | 39 ["key"] = " \0 \0"; |
| 40 ["FIN"] = true; | 40 ["FIN"] = true; |
| 41 ["MASK"] = true; | 41 ["MASK"] = true; |
| 42 ["RSV1"] = false; | 42 ["RSV1"] = false; |
| 43 ["RSV2"] = false; | 43 ["RSV2"] = false; |
| 44 ["RSV3"] = false; | 44 ["RSV3"] = false; |
