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 | 3424d79abb28d65288331e5ff7c2cca17c280e89 (patch) | |
tree | 7c298aa9603c19f3284b56563aaf4c78bcc59af0 /tools/xep227toprosody.lua | |
parent | ef888131115082b3a54a568128101cf442475dce (diff) | |
download | prosody-3424d79abb28d65288331e5ff7c2cca17c280e89.tar.gz prosody-3424d79abb28d65288331e5ff7c2cca17c280e89.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 'tools/xep227toprosody.lua')
0 files changed, 0 insertions, 0 deletions