diff options
author | Kim Alvefur <zash@zash.se> | 2023-07-29 01:42:19 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-07-29 01:42:19 +0200 |
commit | 6ac58a4d1c5bf619d5a345d61b4ca10cfae1a017 (patch) | |
tree | 0ba933f09f7d50be1a0d18de74d5af2688c1e9c6 | |
parent | 7721cc667be083d31cb6371842a717fd7488f434 (diff) | |
download | prosody-6ac58a4d1c5bf619d5a345d61b4ca10cfae1a017.tar.gz prosody-6ac58a4d1c5bf619d5a345d61b4ca10cfae1a017.zip |
net.websocket.frames: Remove completed TODO
The XOR is done in C since 4e5a2af9dd19
-rw-r--r-- | net/websocket/frames.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/websocket/frames.lua b/net/websocket/frames.lua index bf61628f..c22a12de 100644 --- a/net/websocket/frames.lua +++ b/net/websocket/frames.lua @@ -77,7 +77,6 @@ local function parse_frame_header(frame) end -- XORs the string `str` with the array of bytes `key` --- TODO: optimize local function apply_mask(str, key, from, to) return sxor(str:sub(from or 1, to or -1), key); end |