Comparison

plugins/mod_bosh.lua @ 7389:bbed548b4306

mod_bosh: Fix imports that got lost in merge
author Kim Alvefur <zash@zash.se>
date Tue, 19 Apr 2016 17:59:22 +0200
parent 7388:77a3ef937152
child 7390:3219b23c4255
comparison
equal deleted inserted replaced
7388:77a3ef937152 7389:bbed548b4306
20 local log = logger.init("mod_bosh"); 20 local log = logger.init("mod_bosh");
21 local initialize_filters = require "util.filters".initialize; 21 local initialize_filters = require "util.filters".initialize;
22 local math_min = math.min; 22 local math_min = math.min;
23 local xpcall, tostring, type = xpcall, tostring, type; 23 local xpcall, tostring, type = xpcall, tostring, type;
24 local traceback = debug.traceback; 24 local traceback = debug.traceback;
25 local runner = require"util.async".runner;
26 local nameprep = require "util.encodings".stringprep.nameprep;
25 27
26 local xmlns_streams = "http://etherx.jabber.org/streams"; 28 local xmlns_streams = "http://etherx.jabber.org/streams";
27 local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams"; 29 local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams";
28 local xmlns_bosh = "http://jabber.org/protocol/httpbind"; -- (hard-coded into a literal in session.send) 30 local xmlns_bosh = "http://jabber.org/protocol/httpbind"; -- (hard-coded into a literal in session.send)
29 31