aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-10 10:31:38 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-10 10:31:38 +0100
commit8ba629387afe19f3e8c8452b89a5bbf13f153c2f (patch)
treee8bb4713b579746474b2b41ca77a43d6a85a6151 /net
parent99e99bdbdae1e1588375ecbebdf81390a2fa75b2 (diff)
downloadprosody-8ba629387afe19f3e8c8452b89a5bbf13f153c2f.tar.gz
prosody-8ba629387afe19f3e8c8452b89a5bbf13f153c2f.zip
Merge
Diffstat (limited to 'net')
-rw-r--r--net/xmppserver_listener.lua2
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