Mercurial > prosody-modules
view mod_s2s_blacklist/README.markdown @ 5276:67777cb7353d
mod_http_oauth2: Pedantic optimization
Checking the length of the string seems like 30% more expensive than
comparing it with the empty string (by reference, probably).
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 14:37:42 +0200 |
parents | 3b5358934d15 |
children |
line wrap: on
line source
This module lets you block connections to remote servers at the s2s level. ``` {.lua} modules_enabled = { -- other modules -- "s2s_blacklist", } s2s_blacklist = { "proxy.eu.jabber.org", } ```