diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-10 10:31:38 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-10 10:31:38 +0100 |
commit | 8ba629387afe19f3e8c8452b89a5bbf13f153c2f (patch) | |
tree | e8bb4713b579746474b2b41ca77a43d6a85a6151 /net | |
parent | 99e99bdbdae1e1588375ecbebdf81390a2fa75b2 (diff) | |
download | prosody-8ba629387afe19f3e8c8452b89a5bbf13f153c2f.tar.gz prosody-8ba629387afe19f3e8c8452b89a5bbf13f153c2f.zip |
Merge
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppserver_listener.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index 66fa2f95..0770a355 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -131,7 +131,9 @@ function xmppserver.disconnect(conn, err) local session = sessions[conn]; if session then if err and err ~= "closed" and session.srv_hosts then + (session.log or log)("debug", "s2s connection closed unexpectedly"); if s2s_attempt_connect(session, err) then + (session.log or log)("debug", "...so we're going to try again"); return; -- Session lives for now end end |