mirror of
https://github.com/danog/dns-over-https.git
synced 2024-11-26 11:54:44 +01:00
Set number of attempts to number of attempts * number of nameservers
This commit is contained in:
parent
f70333c3df
commit
2a16067bf2
@ -245,7 +245,7 @@ final class Rfc8484StubResolver implements Resolver
|
||||
|
||||
/** @var Nameserver[] $nameservers */
|
||||
$nameservers = $this->dohConfig->getNameservers();
|
||||
$attempts = $this->config->getAttempts();
|
||||
$attempts = $this->config->getAttempts() * count($nameservers);
|
||||
$attempt = 0;
|
||||
|
||||
/** @var Socket $socket */
|
||||
|
Loading…
Reference in New Issue
Block a user