Mercurial > prosody-modules
view mod_ipcheck/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 | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- labels: - 'Stage-Stable' summary: 'XEP-0279: Server IP Check' ... Introduction ============ Sometimes for various reasons a client might want to know its IP address as it appears to the server. This [simple XEP](http://xmpp.org/extensions/xep-0279.html) allows the client to ask the server for the IP address it is connected from. Compatibility ============= ----- ------- 0.7 Works 0.6 Works ----- -------