mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-28 02:29:51 -05:00
- For TCP and TLS connections that don't establish, perform address
update in infra cache, so future selections can exclude them. git-svn-id: file:///svn/unbound/trunk@4693 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
9ed59fdf34
commit
b9607297e9
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -1812,7 +1812,7 @@ serviced_tcp_callback(struct comm_point* c, void* arg, int error,
|
|||
}
|
||||
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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue