mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Change the rtt used to probe EDNS-timeout hosts to 1000 msec.
git-svn-id: file:///svn/unbound/trunk@2329 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
74505ea3f2
commit
a3a1119f54
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
3 November 2010: Wouter
|
||||||
|
- Change the rtt used to probe EDNS-timeout hosts to 1000 msec.
|
||||||
|
|
||||||
2 November 2010: Wouter
|
2 November 2010: Wouter
|
||||||
- tag 1.4.7rc1.
|
- tag 1.4.7rc1.
|
||||||
- code review.
|
- code review.
|
||||||
|
|
|
||||||
|
|
@ -1312,7 +1312,8 @@ serviced_udp_send(struct serviced_query* sq, ldns_buffer* buff)
|
||||||
* EDNS lame (EDNS queries to it are dropped) */
|
* EDNS lame (EDNS queries to it are dropped) */
|
||||||
verbose(VERB_ALGO, "serviced query: send probe to see "
|
verbose(VERB_ALGO, "serviced query: send probe to see "
|
||||||
" if use of EDNS causes timeouts");
|
" if use of EDNS causes timeouts");
|
||||||
rtt /= 10;
|
/* even 700 msec may be too small */
|
||||||
|
rtt = 1000;
|
||||||
sq->status = serviced_query_PROBE_EDNS;
|
sq->status = serviced_query_PROBE_EDNS;
|
||||||
} else if(vs != -1) {
|
} else if(vs != -1) {
|
||||||
sq->status = serviced_query_UDP_EDNS;
|
sq->status = serviced_query_UDP_EDNS;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue