Software /
code /
prosody
File
.hgignore @ 10654:a2bd6e85a457
mod_ping: Fix double response to internal ping
When responding to a ping from elsewhere in the same Prosody the send
function will be host_send from core.hostmanager, which does not return
anything. Tailcalling it therefore lets the iq event fall trough to
handle_unhandled_stanza in core.stanza_router, which responds with an
error. This error also goes into handle_unhandled_stanza which discards
it.
Noticed because I have a module that points out when a stanza error
reply is created without a text argument.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 21 Feb 2020 23:30:47 +0100 |
parent | 8345:850c433eb862 |
line wrap: on
line source
syntax: glob .hgignore .luacheckcache data local www_files html/* prosody.lua prosody.cfg.lua prosody.version config.unix *.patch *.diff *.orig *.rej *.save *~ *.o *.so *.install *.pid *.log *.err *.debug *.dll *.exp *.lib *.obj luacov.report.out luacov.report.out.index luacov.stats.out