aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_websocket.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 274e587a..ecbfabdd 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -226,8 +226,7 @@ function handle_request(event)
frame.opcode = 0xA;
conn:write(build_frame(frame));
return "";
- elseif opcode == 0xA then -- Pong frame
- module:log("warn", "Received unexpected pong frame: " .. tostring(frame.data));
+ elseif opcode == 0xA then -- Pong frame, MAY be sent unsolicited, eg as keepalive
return "";
else
log("warn", "Received frame with unsupported opcode %i", opcode);