Software /
code /
prosody
Comparison
plugins/mod_bosh.lua @ 4102:9df4e61c260b
mod_bosh: Return true from send()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 08 Jan 2011 23:20:16 +0000 |
parent | 4066:461812921f8f |
child | 4223:9fb6e8ec15ed |
child | 4308:50e1a3dc2b50 |
comparison
equal
deleted
inserted
replaced
4101:06778bc27d53 | 4102:9df4e61c260b |
---|---|
272 log("debug", "Saved to send buffer because there are %d open requests", #r); | 272 log("debug", "Saved to send buffer because there are %d open requests", #r); |
273 -- Hmm, no requests are open :( | 273 -- Hmm, no requests are open :( |
274 t_insert(session.send_buffer, tostring(s)); | 274 t_insert(session.send_buffer, tostring(s)); |
275 log("debug", "There are now %d things in the send_buffer", #session.send_buffer); | 275 log("debug", "There are now %d things in the send_buffer", #session.send_buffer); |
276 end | 276 end |
277 return true; | |
277 end | 278 end |
278 | 279 |
279 -- Send creation response | 280 -- Send creation response |
280 | 281 |
281 local features = st.stanza("stream:features"); | 282 local features = st.stanza("stream:features"); |