diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-02-09 13:32:46 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-02-09 13:32:46 +0000 |
commit | 3fc972b6c2bd4545cdcc1856b28a67bb7fdcfd1a (patch) | |
tree | 6a44a09a75af84798376e3b9819b86757410a65d /plugins/mod_bosh.lua | |
parent | 80a1fa8fa43c667f83a0b8dda63194cf7829dd99 (diff) | |
download | prosody-3fc972b6c2bd4545cdcc1856b28a67bb7fdcfd1a.tar.gz prosody-3fc972b6c2bd4545cdcc1856b28a67bb7fdcfd1a.zip |
mod_bosh: Fix for 'invalid key to next' error when using BOSH
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 1fed2e3b..df89f88e 100644 --- a/plugins/mod_bosh.lua +++ b/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 |