Software /
code /
prosody
Changeset
10582:6d4562acef81
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Jan 2020 10:52:47 +0100 |
parents | 10580:b7c5d7bae4ef (current diff) 10581:10d6d0d91f4e (diff) |
children | 10583:624ad69dbaf7 |
files | plugins/mod_websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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