mod_bosh: Fix for 'invalid key to next' error when using BOSH

remotes/origin/sasl
Matthew Wild 17 years ago
parent 80a1fa8fa4
commit 3fc972b6c2
  1. 1
      plugins/mod_bosh.lua

@ -243,6 +243,7 @@ function on_timer()
(session.log or log)("debug", "BOSH client inactive too long, destroying session at %d", now);
sessions[session.sid] = nil;
inactive_sessions[session] = nil;
session.bosh_max_inactive = nil; -- Stop us marking this session as active during destroy
sm_destroy_session(session, "BOSH client silent for over "..session.bosh_max_inactive.." seconds");
end
else

Loading…
Cancel
Save