and is probed to see it works, it becomes fully available for
server selection again.
git-svn-id: file:///svn/unbound/trunk@2745
be551aaa-1e26-0410-a405-
d3ace91eadb9
+21 August 2012: Wouter
+ - Fix timeouts so that when a server has been offline for a while
+ and is probed to see it works, it becomes fully available for
+ server selection again.
+
17 August 2012: Wouter
- Add documentation to libunbound for default nonuse of resolv.conf.
data->timeout_other++;
}
} else {
+ /* if we got a reply, but the old timeout was above server
+ * selection height, delete the timeout so the server is
+ * fully available again */
+ if(rtt_unclamped(&data->rtt) >= USEFUL_SERVER_TOP_TIMEOUT)
+ rtt_init(&data->rtt);
rtt_update(&data->rtt, roundtrip);
data->probedelay = 0;
if(qtype == LDNS_RR_TYPE_A)