Software /
code /
prosody
Diff
net/xmppserver_listener.lua @ 1953:64538c620450
Merge with 0.5
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 14 Oct 2009 14:12:14 +0100 |
parent | 1902:a7b06e2539c8 |
parent | 1951:632039101699 |
child | 1955:a9a8ef70d14c |
line wrap: on
line diff
--- a/net/xmppserver_listener.lua Tue Oct 13 11:13:52 2009 +0100 +++ b/net/xmppserver_listener.lua Wed Oct 14 14:12:14 2009 +0100 @@ -100,6 +100,9 @@ end end session.sends2s("</stream:stream>"); + if sesson.notopen or not session.conn.close() then + session.conn.close(true); -- Force FIXME: timer? + end session.conn.close(); xmppserver.disconnect(session.conn, "stream error"); end