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
bf6133ea
Commit
bf6133ea
authored
Dec 28, 2018
by
Mark Andrews
Committed by
Evan Hunt
Jan 15, 2019
Browse files
adjust timeout to allow for ECN negotiation failures
(cherry picked from commit
dadb924b
)
parent
7663d075
Pipeline
#8780
passed with stages
in 17 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/resolver.c
View file @
bf6133ea
...
@@ -1662,6 +1662,15 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
...
@@ -1662,6 +1662,15 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
srtt
=
addrinfo
->
srtt
;
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 forwarder needs to make multiple queries. Give it at least
* a second to do these in.
* a second to do these in.
...
...
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