Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 5644:f9cfe6f5d60f
mod_bosh: Reset creating_session to prevent putting unnecessary attributes into every BOSH response
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 05 Jun 2013 21:35:50 +0100 |
parent | 5639:7a0e19e649b7 |
child | 5645:ae079d57af2e |
child | 5650:aa3465183b01 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Tue Jun 04 19:35:41 2013 +0200 +++ b/plugins/mod_bosh.lua Wed Jun 05 21:35:50 2013 +0100 @@ -284,6 +284,7 @@ sid = sid; }; if creating_session then + creating_session = nil; body_attr.inactivity = tostring(BOSH_DEFAULT_INACTIVITY); body_attr.polling = tostring(BOSH_DEFAULT_POLLING); body_attr.requests = tostring(BOSH_DEFAULT_REQUESTS);