summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-12-04 12:41:39 +0100
committerxengineering <me@xengineering.eu>2022-12-04 12:41:39 +0100
commit0de21ec65f3c28f2acc947c00c3cb26dc9ea4ecd (patch)
tree1d8490f38520908f55f38edbc050920f9eebb15e /LICENSE
parentd3a952c04f16723a5dc86fccc5919082dcd1c90e (diff)
downloadlimox-0de21ec65f3c28f2acc947c00c3cb26dc9ea4ecd.tar
limox-0de21ec65f3c28f2acc947c00c3cb26dc9ea4ecd.tar.zst
limox-0de21ec65f3c28f2acc947c00c3cb26dc9ea4ecd.zip
Implement DNS with a temporary solution
The DNS resolution implemented with this commit uses getaddrinfo() from the standard library to get an IPv4 address for the domainpart of the user-given Jabber ID (JID). This is by far not the process described in [RFC 6120][1]. This XMPP core standard prefers SRV entry lookups. Taking A records like in this implementation is referenced as "fallback process". Furthermore this implementation just takes the first A record it finds which could also be improved. It could for example be that IPv4 is blocked in the referenced network and a AAAA IPv6 record is given and functional. In this case this implementation would needlessly fail to connect. [1]: https://www.rfc-editor.org/rfc/rfc6120
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions