- 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:
Wouter Wijngaards 2010-11-03 09:06:49 +00:00
parent 74505ea3f2
commit a3a1119f54
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
3 November 2010: Wouter
- Change the rtt used to probe EDNS-timeout hosts to 1000 msec.
2 November 2010: Wouter
- tag 1.4.7rc1.
- code review.

View File

@ -1312,7 +1312,8 @@ serviced_udp_send(struct serviced_query* sq, ldns_buffer* buff)
* EDNS lame (EDNS queries to it are dropped) */
verbose(VERB_ALGO, "serviced query: send probe to see "
" if use of EDNS causes timeouts");
rtt /= 10;
/* even 700 msec may be too small */
rtt = 1000;
sq->status = serviced_query_PROBE_EDNS;
} else if(vs != -1) {
sq->status = serviced_query_UDP_EDNS;