From 6ac58a4d1c5bf619d5a345d61b4ca10cfae1a017 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 29 Jul 2023 01:42:19 +0200 Subject: net.websocket.frames: Remove completed TODO The XOR is done in C since 4e5a2af9dd19 --- net/websocket/frames.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'net') 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 -- cgit v1.2.3