net.websocket.frames: Remove completed TODO

The XOR is done in C since 4e5a2af9dd19
This commit is contained in:
Kim Alvefur 2023-07-29 01:42:19 +02:00
parent 7721cc667b
commit 6ac58a4d1c

View file

@ -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