From ca51cdad381f87a3b76ed216e6751cd18db0c25a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 11 Jul 2021 12:41:32 +0200 Subject: mod_s2s: Log debug message on attempted close of an connectionless session This should probably never happen, but probably does anyways. A debug message would show the truth of the matter. --- plugins/mod_s2s.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_s2s.lua b/plugins/mod_s2s.lua index a9d8745c..217797df 100644 --- a/plugins/mod_s2s.lua +++ b/plugins/mod_s2s.lua @@ -553,6 +553,7 @@ local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; local function session_close(session, reason, remote_reason, bounce_reason) local log = session.log or log; if not session.conn then + log("debug", "Attempt to close without associated connection with reason %q", reason); return end -- cgit v1.2.3