aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-07 13:10:27 +0200
committerKim Alvefur <zash@zash.se>2022-05-07 13:10:27 +0200
commit71dc755f0f20c5dd2ad6ed76a8ae791bae16a8b1 (patch)
tree5dc0baf81ca8d29e7c62f655a6f29877e1f42be3 /plugins
parent3c35d94011af3c46666c676b7098a30f4e427168 (diff)
downloadprosody-71dc755f0f20c5dd2ad6ed76a8ae791bae16a8b1.tar.gz
prosody-71dc755f0f20c5dd2ad6ed76a8ae791bae16a8b1.zip
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_s2s.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_s2s.lua b/plugins/mod_s2s.lua
index 7662be57..dd585ac7 100644
--- a/plugins/mod_s2s.lua
+++ b/plugins/mod_s2s.lua
@@ -155,6 +155,8 @@ local function bounce_sendq(session, reason)
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