projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72826cf
)
mod_bosh: Reset creating_session to prevent putting unnecessary attributes into every...
author
Matthew Wild
<mwild1@gmail.com>
Wed, 5 Jun 2013 20:35:50 +0000
(21:35 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 5 Jun 2013 20:35:50 +0000
(21:35 +0100)
plugins/mod_bosh.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_bosh.lua
b/plugins/mod_bosh.lua
index 184da321bfaf9fe9f729ed15963ccdb33fb7872a..8c084c9581f66778dbb86db016564877c15b851b 100644
(file)
--- a/
plugins/mod_bosh.lua
+++ b/
plugins/mod_bosh.lua
@@
-284,6
+284,7
@@
function stream_callbacks.streamopened(context, attr)
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);