Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 10582:6d4562acef81
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Jan 2020 10:52:47 +0100 |
parent | 10325:f2bbad04cf64 |
parent | 10581:10d6d0d91f4e |
child | 10615:2bc918999615 |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Wed Jan 01 01:22:57 2020 +0100 +++ b/plugins/mod_websocket.lua Thu Jan 02 10:52:47 2020 +0100 @@ -223,6 +223,7 @@ return; elseif opcode == 0x9 then -- Ping frame frame.opcode = 0xA; + frame.MASK = false; -- Clients send masked frames, servers don't, see #1484 conn:write(build_frame(frame)); return ""; elseif opcode == 0xA then -- Pong frame, MAY be sent unsolicited, eg as keepalive