Software /
code /
prosody
Comparison
plugins/mod_bosh.lua @ 5070:4bf6bd22ad11
mod_bosh: Remove troublesome return... continue processing of the streamopen after session creation (because since 16c7b510694b we no longer send an early response)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 01 Aug 2012 00:39:54 +0100 |
parent | 5046:16c7b510694b |
child | 5071:0382f456ac82 |
comparison
equal
deleted
inserted
replaced
5069:7b298f8bcbcb | 5070:4bf6bd22ad11 |
---|---|
297 session.send_buffer = {}; | 297 session.send_buffer = {}; |
298 end | 298 end |
299 return true; | 299 return true; |
300 end | 300 end |
301 request.sid = sid; | 301 request.sid = sid; |
302 return; | |
303 end | 302 end |
304 | 303 |
305 local session = sessions[sid]; | 304 local session = sessions[sid]; |
306 if not session then | 305 if not session then |
307 -- Unknown sid | 306 -- Unknown sid |