view mod_auto_answer_disco_info/README.markdown @ 4601:3c3f45241317

mod_measure_lua: Capture current Lua version Could be useful for comparing other stats between Lua versions
author Kim Alvefur <zash@zash.se>
date Mon, 28 Jun 2021 12:05:51 +0200
parents 908ed8f736bd
children
line wrap: on
line source

---
summary: Answers disco#info queries on the behalf of the recipient
rockspec:
  dependencies:
    - mod_cache_c2s_caps
---

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.