net/xmppserver_listener.lua

changeset 2369
fe2819d281d5
parent 2256
482bc84c15ea
child 2370
d783c8de379d
equal deleted inserted replaced
2368:4726cd9a6318 2369:fe2819d281d5
157 (session.log or log)("debug", "...so we're going to try again"); 157 (session.log or log)("debug", "...so we're going to try again");
158 return; -- Session lives for now 158 return; -- Session lives for now
159 end 159 end
160 end 160 end
161 (session.log or log)("info", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err)); 161 (session.log or log)("info", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err));
162 s2s_destroy_session(session); 162 s2s_destroy_session(session, err);
163 sessions[conn] = nil; 163 sessions[conn] = nil;
164 session = nil; 164 session = nil;
165 end 165 end
166 end 166 end
167 167

mercurial