mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
net.websocket.frames: Remove completed TODO
The XOR is done in C since 4e5a2af9dd19
This commit is contained in:
parent
7721cc667b
commit
6ac58a4d1c
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue