Mercurial > prosody-modules
view mod_http_prebind/README.markdown @ 5536:96dec7681af8
mod_firewall: Update user marks to store instantly via map store
The original approach was to keep marks in memory only, and persist them at
shutdown. That saves I/O, at the cost of potentially losing marks on an
unclean shutdown.
This change persists marks instantly, which may have some performance overhead
but should be more "correct".
It also splits the marking/unmarking into an event which may be watched or
even fired by other modules.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 08 Jun 2023 16:20:42 +0100 |
parents | 3943032533a7 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: Implements BOSH pre-bind ... For why this can be useful, see https://metajack.im/2009/12/14/fastest-xmpp-sessions-with-http-prebinding/ # To enable this module Add `"http_prebind"` to `modules_enabled` on an anonymous virtual host. This only works on anonymous ones for now.