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 = {}; |