Mercurial > prosody-modules
view mod_s2s_auth_samecert/README.md @ 6275:ebcf612da2b1
mod_http_oauth2: Use numeric for loop instead of ipairs
Pedantic attempted optimization, reducing function calls.
I didn't even measure, only vaguely recall that this is faster in PUC Lua.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 03 Jul 2025 12:14:53 +0200 |
| parents | 021b2686c19b |
| children | 7bca4f5935d6 |
line wrap: on
line source
This module authenticates server-to-server connections by looking for an already established connection that uses the exact same certificate, reusing the earlier validation results and letting Prosody skip performing slower validation methods such as [POSH][mod_s2s_auth_posh] twice.
