Mercurial > prosody-modules
view mod_auto_answer_disco_info/README.markdown @ 3866:c0df50ce96f0
mod_rest: Handle internal http request errors early and then return
Skips over attempted parsing of the payload which usually failed since
the body is an error string like "connection refused", so this produced
useless errors.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 25 Jan 2020 20:22:12 +0100 |
parents | 0286ccacec7c |
children | 908ed8f736bd |
line wrap: on
line source
--- summary: Answers disco#info queries on the behalf of the recipient --- Description =========== This module intercepts disco#info queries and checks if we already know the capabilities of this session, in which case we don’t transmit the iq and answer it ourselves.