diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-22 16:59:12 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-22 16:59:12 +0100 |
commit | efc4ec5efea1a4160a2651973e5cf5f5a2c3b6c3 (patch) | |
tree | 7c298aa9603c19f3284b56563aaf4c78bcc59af0 /plugins/mod_offline.lua | |
parent | 16d3a8809791d5f038782617779466cc4f9321ae (diff) | |
download | prosody-efc4ec5efea1a4160a2651973e5cf5f5a2c3b6c3.tar.gz prosody-efc4ec5efea1a4160a2651973e5cf5f5a2c3b6c3.zip |
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).
Diffstat (limited to 'plugins/mod_offline.lua')
0 files changed, 0 insertions, 0 deletions