Comparison

net/xmppserver_listener.lua @ 1955:a9a8ef70d14c

Merge with 0.5
author Matthew Wild <mwild1@gmail.com>
date Thu, 15 Oct 2009 14:20:08 +0100
parent 1953:64538c620450
parent 1954:4ef18b2dcc21
child 1978:8f9dc8a25660
comparison
equal deleted inserted replaced
1953:64538c620450 1955:a9a8ef70d14c
98 session.sends2s(reason); 98 session.sends2s(reason);
99 end 99 end
100 end 100 end
101 end 101 end
102 session.sends2s("</stream:stream>"); 102 session.sends2s("</stream:stream>");
103 if sesson.notopen or not session.conn.close() then 103 if session.notopen or not session.conn.close() then
104 session.conn.close(true); -- Force FIXME: timer? 104 session.conn.close(true); -- Force FIXME: timer?
105 end 105 end
106 session.conn.close(); 106 session.conn.close();
107 xmppserver.disconnect(session.conn, "stream error"); 107 xmppserver.disconnect(session.conn, "stream error");
108 end 108 end