# HG changeset patch # User Matthew Wild # Date 1370464550 -3600 # Node ID f9cfe6f5d60f8c9347828d27286a4c0e6942d321 # Parent e612e1887e39c8ee8626c40893f4b964170282c2 mod_bosh: Reset creating_session to prevent putting unnecessary attributes into every BOSH response diff -r e612e1887e39 -r f9cfe6f5d60f plugins/mod_bosh.lua --- 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);