annotate mod_query_client_ver/README.md @ 6213:49fad071e644
mod_net_proxy: Use safer util.format for generating description string (thanks tom)
It appears that server_event may emit port numbers (src_port() in this case)
as strings, rather than integers. This causes string.format() to throw an
error.
Prosody's util.format is a more forgiving formatter and won't throw an error.
The server_event behaviour may be best fixed for the sake of consistency,
though.
| author |
Matthew Wild <mwild1@gmail.com> |
| date |
Fri, 09 May 2025 10:00:15 +0100 |
| parents |
fe081789f7b5 |
| children |
|
| rev |
line source |
|
2994
|
1 # Introduction
|
|
|
2
|
|
|
3 This module sends a [version query][xep0092] to clients when they
|
|
|
4 connect, and logs the response, allowing statistics of client usage to
|
|
|
5 be recorded.
|
|
|
6
|
|
|
7 Note that since this is per connection, there will be a bias towards
|
|
|
8 mobile clients on bad connections.
|
|
|
9
|
|
|
10 ## Example
|
|
|
11
|
|
|
12 info Running Running Swift version 4.0
|