Changeset

13250:cfd062d025b0

net.websocket.frames: Remove completed TODO The XOR is done in C since 4e5a2af9dd19
author Kim Alvefur <zash@zash.se>
date Sat, 29 Jul 2023 01:42:19 +0200
parents 13249:5884d58707fa
children 13251:7748dfb201de
files net/websocket/frames.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/websocket/frames.lua	Wed Jul 26 14:39:36 2023 +0200
+++ b/net/websocket/frames.lua	Sat Jul 29 01:42:19 2023 +0200
@@ -77,7 +77,6 @@
 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