aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-05 00:28:30 +0100
committerKim Alvefur <zash@zash.se>2016-11-05 00:28:30 +0100
commit07da428d332ef485dc4aea2f14cde5642fb0ba78 (patch)
treeead046279a47ea5984c334f0c6500d85f5970dc8 /plugins/mod_websocket.lua
parent78fdfac11b141a83604a2887bb831206f71bef54 (diff)
parent02919f09518951d7561b8adbb843e88c6fc262ac (diff)
downloadprosody-07da428d332ef485dc4aea2f14cde5642fb0ba78.tar.gz
prosody-07da428d332ef485dc4aea2f14cde5642fb0ba78.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r--plugins/mod_websocket.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index a3f5318c..ea736800 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -293,7 +293,7 @@ end
local function keepalive(event)
local session = event.session;
if session.open_stream == session_open_stream then
- return session.conn:write(build_frame({ opcode = 0x9, }));
+ return session.conn:write(build_frame({ opcode = 0x9, FIN = true }));
end
end