update in infra cache, so future selections can exclude them.
git-svn-id: file:///svn/unbound/trunk@4693
be551aaa-1e26-0410-a405-
d3ace91eadb9
+25 May 2018: Wouter
+ - For TCP and TLS connections that don't establish, perform address
+ update in infra cache, so future selections can exclude them.
+
24 May 2018: Wouter
- Fix that libunbound can do DNS-over-TLS, when configured.
- Fix that windows unbound service can use DNS-over-TLS.
}
if(sq->tcp_upstream || sq->ssl_upstream) {
struct timeval now = *sq->outnet->now_tv;
- if(error==NETEVENT_TIMEOUT) {
+ if(error!=NETEVENT_NOERROR) {
if(!infra_rtt_update(sq->outnet->infra, &sq->addr,
sq->addrlen, sq->zone, sq->zonelen, sq->qtype,
-1, sq->last_rtt, (time_t)now.tv_sec))