Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
dadb924b
Commit
dadb924b
authored
Dec 28, 2018
by
Mark Andrews
Committed by
Evan Hunt
Jan 15, 2019
Browse files
adjust timeout to allow for ECN negotiation failures
parent
f056d04e
Pipeline
#8775
passed with stages
in 10 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/resolver.c
View file @
dadb924b
...
...
@@ -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.
...
...
Mark Andrews
@marka
mentioned in commit
a9ceb01f
·
Jan 16, 2019
mentioned in commit
a9ceb01f
mentioned in commit a9ceb01fde955ca06e781e8e343a545f08265c56
Toggle commit list
Mark Andrews
@marka
mentioned in commit
bf6133ea
·
Jan 16, 2019
mentioned in commit
bf6133ea
mentioned in commit bf6133ea613dd9ac5205dd7cf7bd1116708d4d7a
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment