Compare commits

..

2 Commits

Author SHA1 Message Date
Bananymous b853d29992 Kernel: Fix unix domain socket close detection 2025-04-22 08:36:44 +03:00
Bananymous 33a0f562d3 resolver: Add support for CNAME
Also rework resolver's send format and convert test-tcp and nslookup to
use getaddrinfo
2025-04-22 08:36:44 +03:00
1 changed files with 0 additions and 1 deletions

View File

@ -316,7 +316,6 @@ BAN::Optional<BAN::IPv4Address> resolve_from_dns_cache(BAN::HashMap<BAN::String,
{ {
if (time(nullptr) > it->value.valid_until) if (time(nullptr) > it->value.valid_until)
{ {
dprintln("{} timedout", it->key);
dns_cache.remove(it); dns_cache.remove(it);
return {}; return {};
} }