mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #673: DNS over TLS: error: SSL_handshake syscall: No route to
host.
This commit is contained in:
parent
77149fc2aa
commit
f0d91950ad
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
11 May 2022: Wouter
|
||||
- Fix #673: DNS over TLS: error: SSL_handshake syscall: No route to
|
||||
host.
|
||||
|
||||
10 May 2022: George
|
||||
- Fix Python build in non-source directory; based on patch by
|
||||
Michael Tokarev.
|
||||
|
|
|
|||
|
|
@ -1277,6 +1277,12 @@ ssl_handshake(struct comm_point* c)
|
|||
if(errno == ECONNRESET && verbosity < 2)
|
||||
return 0; /* silence reset by peer */
|
||||
#endif
|
||||
if(!tcp_connect_errno_needs_log(
|
||||
(struct sockaddr*)&c->repinfo.addr,
|
||||
c->repinfo.addrlen))
|
||||
return 0; /* silence connect failures that
|
||||
show up because after connect this is the
|
||||
first system call that accesses the socket */
|
||||
if(errno != 0)
|
||||
log_err("SSL_handshake syscall: %s",
|
||||
strerror(errno));
|
||||
|
|
|
|||
Loading…
Reference in a new issue