Software /
code /
prosody
Changeset
11670:7f6c816a2c09
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 11 Jul 2021 12:41:32 +0200 |
parents | 11669:bca75f34d374 |
children | 11671:4e4e26e3df8d |
files | plugins/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s.lua Sun Jul 11 12:37:51 2021 +0200 +++ b/plugins/mod_s2s.lua Sun Jul 11 12:41:32 2021 +0200 @@ -553,6 +553,7 @@ 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