Compare commits
2 Commits
b853d29992
...
f2e41f71d6
| Author | SHA1 | Date | |
|---|---|---|---|
| f2e41f71d6 | |||
| 3a11a5a9a0 |
@@ -316,6 +316,7 @@ BAN::Optional<BAN::IPv4Address> resolve_from_dns_cache(BAN::HashMap<BAN::String,
|
||||
{
|
||||
if (time(nullptr) > it->value.valid_until)
|
||||
{
|
||||
dprintln("{} timedout", it->key);
|
||||
dns_cache.remove(it);
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user