Comparison

plugins/mod_s2s.lua @ 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
parent 12493:e9ea5c88def0
child 12602:9184fe3d489a
comparison
equal deleted inserted replaced
12493:e9ea5c88def0 12494:65316782862f
153 error_type, 153 error_type,
154 condition, 154 condition,
155 reason_text and ("Server-to-server connection failed: "..reason_text) or nil 155 reason_text and ("Server-to-server connection failed: "..reason_text) or nil
156 ); 156 );
157 core_process_stanza(dummy, reply); 157 core_process_stanza(dummy, reply);
158 else
159 (session.log or log)("debug", "Not eligible for bouncing, discarding %s", stanza:top_tag());
158 end 160 end
159 sendq[i] = nil; 161 sendq[i] = nil;
160 end 162 end
161 session.sendq = nil; 163 session.sendq = nil;
162 end 164 end