Comparison

plugins/mod_websocket.lua @ 9799:7259a61bacc8

mod_bosh, mod_websocket: Remove accidentally included dependency on non-existant module
author Kim Alvefur <zash@zash.se>
date Sat, 19 Jan 2019 20:03:04 +0100
parent 9795:02735bc82126
child 9801:b87cd83a2685
comparison
equal deleted inserted replaced
9798:7ce7ee9cd1c5 9799:7259a61bacc8
30 local stream_close_timeout = module:get_option_number("c2s_close_timeout", 5); 30 local stream_close_timeout = module:get_option_number("c2s_close_timeout", 5);
31 local consider_websocket_secure = module:get_option_boolean("consider_websocket_secure"); 31 local consider_websocket_secure = module:get_option_boolean("consider_websocket_secure");
32 local cross_domain = module:get_option("cross_domain_websocket"); 32 local cross_domain = module:get_option("cross_domain_websocket");
33 if cross_domain ~= nil then 33 if cross_domain ~= nil then
34 module:log("info", "The 'cross_domain_websocket' option has been deprecated"); 34 module:log("info", "The 'cross_domain_websocket' option has been deprecated");
35 module:depends("http_crossdomain");
36 end 35 end
37 local xmlns_framing = "urn:ietf:params:xml:ns:xmpp-framing"; 36 local xmlns_framing = "urn:ietf:params:xml:ns:xmpp-framing";
38 local xmlns_streams = "http://etherx.jabber.org/streams"; 37 local xmlns_streams = "http://etherx.jabber.org/streams";
39 local xmlns_client = "jabber:client"; 38 local xmlns_client = "jabber:client";
40 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; 39 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};