You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mod_bosh.lua.patch 496B

123456789101112
  1. --- /usr/lib/prosody/modules/mod_bosh.lua 2015-12-16 14:28:34.000000000 -0600
  2. +++ /usr/lib/prosody/modules/mod_bosh.lua 2015-12-22 10:45:59.818197967 -0600
  3. @@ -294,6 +294,9 @@
  4. session.log("debug", "BOSH session created for request from %s", session.ip);
  5. log("info", "New BOSH session, assigned it sid '%s'", sid);
  6. +
  7. + hosts[session.host].events.fire_event(
  8. + "bosh-session", { session = session, request = request });
  9. -- Send creation response
  10. local creating_session = true;