Software /
code /
prosody
Changeset
12494:65316782862f
mod_s2s: Log queued stanzas for which no error reply is produced
This would mainly be error stanzas.
Good to have some trace of when handling of them are finished.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 May 2022 13:10:27 +0200 |
parents | 12493:e9ea5c88def0 |
children | 12497:83f269db6850 |
files | plugins/mod_s2s.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s.lua Sat May 07 13:01:49 2022 +0200 +++ b/plugins/mod_s2s.lua Sat May 07 13:10:27 2022 +0200 @@ -155,6 +155,8 @@ reason_text and ("Server-to-server connection failed: "..reason_text) or nil ); core_process_stanza(dummy, reply); + else + (session.log or log)("debug", "Not eligible for bouncing, discarding %s", stanza:top_tag()); end sendq[i] = nil; end