Mercurial > prosody-hg
comparison plugins/mod_bosh.lua @ 2212:7cb6460b18d8
Merge with trunk.
| author | Tobias Markmann <tm@ayena.de> |
|---|---|
| date | Thu, 19 Nov 2009 17:53:52 +0100 |
| parents | ded03b7b040e |
| children | 73e083d01449 |
comparison
equal
deleted
inserted
replaced
| 2211:6094a4e2b6f3 | 2212:7cb6460b18d8 |
|---|---|
| 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 = {}; |
