Mon, 12 Jan 2009 02:59:00 +0000
BOSH: Make previous fix a bit more efficient
plugins/mod_bosh.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_bosh.lua Mon Jan 12 02:57:49 2009 +0000 +++ b/plugins/mod_bosh.lua Mon Jan 12 02:59:00 2009 +0000 @@ -247,7 +247,7 @@ inactive_sessions[session] = nil; sm_destroy_session(session, "BOSH client silent for over "..session.bosh_max_inactive.." seconds"); end - elseif not session.type then + else inactive_sessions[session] = nil; end end