projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f8184
)
mod_websocket: Make sure stanza xmlns filter runs late in the chain
author
Kim Alvefur
<zash@zash.se>
Thu, 17 Mar 2016 23:08:33 +0000
(
00:08
+0100)
committer
Kim Alvefur
<zash@zash.se>
Thu, 17 Mar 2016 23:08:33 +0000
(
00:08
+0100)
plugins/mod_websocket.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_websocket.lua
b/plugins/mod_websocket.lua
index 418cd84639f0aa07df2ec6d3d9c512103eeee6be..274e587a1ca1fdcc6204491906c1a66ddad127ff 100644
(file)
--- a/
plugins/mod_websocket.lua
+++ b/
plugins/mod_websocket.lua
@@
-275,7
+275,7
@@
function handle_request(event)
attr["xmlns:stream"] = attr["xmlns:stream"] or xmlns_streams;
end
return stanza;
- end);
+ end
, -1000
);
add_filter(session, "bytes/out", function(data)
return build_frame({ FIN = true, opcode = 0x01, data = tostring(data)});