mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-29 05:43:20 -04:00
Merge branch '792-bind9-doesn-t-tcp-retransmit' into 'master'
Resolve "bind9 doesn't tcp retransmit" Closes #792 See merge request isc-projects/bind9!1284
This commit is contained in:
commit
02497cf6d3
1 changed files with 9 additions and 0 deletions
|
|
@ -1919,6 +1919,15 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
|
|||
|
||||
srtt = addrinfo->srtt;
|
||||
|
||||
/*
|
||||
* Allow an additional second for the kernel to resend the SYN (or
|
||||
* SYN without ECN in the case of stupid firewalls blocking ECN
|
||||
* negotiation) over the current RTT estimate.
|
||||
*/
|
||||
if ((options & DNS_FETCHOPT_TCP) != 0) {
|
||||
srtt += 1000000;
|
||||
}
|
||||
|
||||
/*
|
||||
* A forwarder needs to make multiple queries. Give it at least
|
||||
* a second to do these in.
|
||||
|
|
|
|||
Loading…
Reference in a new issue