diff --git a/raspberryjammod/init.lua b/raspberryjammod/init.lua index 0163d92..1035580 100644 --- a/raspberryjammod/init.lua +++ b/raspberryjammod/init.lua @@ -607,7 +607,7 @@ function handle_websocket_header(source,line) if line == "" then if source.ws.isWebsocket and source.ws.key then local new_key = tools.base64.encode(tools.sha1(source.ws.key .. '258EAFA5-E914-47DA-95CA-C5AB0DC85B11')) - source.ws = {frame=""} + source.ws = {} local response = "HTTP/1.1 101 Switching Protocols\r\n".. "Upgrade: websocket\r\n".. "Connection: Upgrade\r\n"..