Diff

plugins/mod_bosh.lua @ 5645:ae079d57af2e

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Wed, 05 Jun 2013 21:36:29 +0100
parent 5640:4f1889672063
parent 5644:f9cfe6f5d60f
child 5646:c4b6ebea7185
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Mon Jun 03 12:50:37 2013 -0400
+++ b/plugins/mod_bosh.lua	Wed Jun 05 21:36:29 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);