mirror of https://github.com/oxen-io/lokinet
9ea82edc07
Fixes: - tighten reserved name detection to not match fooloki.loki, but instead only match "foo.loki.loki" and "loki.loki" (and similar for reserved name "snode.loki"). - IPv6 PTR parsing was completely broken. - Added tests for the above two issues. Cleanups: - Eliminate llarp::dns::Name_t typedef for std::string - Use optional return instead of bool + output param - Use string_views; we were doing a *lot* of string substr's during parsing, each of which allocates a new string. - Use fmt instead of stringstream - Simplify IPv4 PTR parsing |
||
---|---|---|
.. | ||
dns.hpp | ||
message.cpp | ||
message.hpp | ||
name.cpp | ||
name.hpp | ||
query.hpp | ||
question.cpp | ||
question.hpp | ||
rr.cpp | ||
rr.hpp | ||
serialize.cpp | ||
serialize.hpp | ||
server.cpp | ||
server.hpp | ||
srv_data.cpp | ||
srv_data.hpp | ||
string.hpp | ||
unbound_resolver.cpp | ||
unbound_resolver.hpp |