mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd::net::dns::resolver: Prevent retry of ServFail to the same server.
This commit is contained in:
parent
9e085c49c5
commit
afe314a408
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ ircd::net::dns::resolver::handle_reply(const ipport &from,
|
|||
|
||||
// Handle ServFail as a special case here. We can try again without
|
||||
// handling this tag or propagating this error any further yet.
|
||||
if(header.rcode == 2 && tag.tries < size_t(retry_max))
|
||||
if(header.rcode == 2 && tag.tries < size_t(server.size()))
|
||||
{
|
||||
log::error
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue