Comparison

plugins/muc/mod_muc.lua @ 4964:c9b8ec3eb1e9

mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data).
author Matthew Wild <mwild1@gmail.com>
date Sun, 22 Jul 2012 16:59:12 +0100
parent 4924:d8b9fe5900a2
child 5015:f19b38bfa015
comparison
equal deleted inserted replaced
4963:54e2c83af127 4964:c9b8ec3eb1e9