plugins/mod_bosh.lua

changeset 2084
ded03b7b040e
parent 2077
e33658f6052c
child 2099
73e083d01449
equal deleted inserted replaced
2083:47bfc69fb2d2 2084:ded03b7b040e
252 local session = sessions[request.sid]; 252 local session = sessions[request.sid];
253 if session then 253 if session then
254 if stanza.attr.xmlns == xmlns_bosh then 254 if stanza.attr.xmlns == xmlns_bosh then
255 stanza.attr.xmlns = "jabber:client"; 255 stanza.attr.xmlns = "jabber:client";
256 end 256 end
257 session.ip = request.handler.ip();
257 core_process_stanza(session, stanza); 258 core_process_stanza(session, stanza);
258 end 259 end
259 end 260 end
260 261
261 local dead_sessions = {}; 262 local dead_sessions = {};

mercurial