Compare commits
2 Commits
f2e41f71d6
...
b853d29992
| Author | SHA1 | Date | |
|---|---|---|---|
| b853d29992 | |||
| 33a0f562d3 |
@@ -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 {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user