Software /
code /
prosody
Comparison
plugins/mod_bosh.lua @ 7048:b58fd349ddfe
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 04 Jan 2016 09:14:57 +0000 |
parent | 6989:118858bf47cd |
parent | 7047:9ca2b720ad43 |
child | 7286:30b9433a9f3e |
comparison
equal
deleted
inserted
replaced
7046:6b4232125f32 | 7048:b58fd349ddfe |
---|---|
292 | 292 |
293 local filter = initialize_filters(session); | 293 local filter = initialize_filters(session); |
294 | 294 |
295 session.log("debug", "BOSH session created for request from %s", session.ip); | 295 session.log("debug", "BOSH session created for request from %s", session.ip); |
296 log("info", "New BOSH session, assigned it sid '%s'", sid); | 296 log("info", "New BOSH session, assigned it sid '%s'", sid); |
297 | |
298 hosts[session.host].events.fire_event("bosh-session", { session = session, request = request }); | |
297 | 299 |
298 -- Send creation response | 300 -- Send creation response |
299 local creating_session = true; | 301 local creating_session = true; |
300 | 302 |
301 local r = session.requests; | 303 local r = session.requests; |