- Fix #673: DNS over TLS: error: SSL_handshake syscall: No route to

host.
This commit is contained in:
W.C.A. Wijngaards 2022-05-11 17:10:42 +02:00
parent 77149fc2aa
commit f0d91950ad
2 changed files with 10 additions and 0 deletions

View file

@ -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 10 May 2022: George
- Fix Python build in non-source directory; based on patch by - Fix Python build in non-source directory; based on patch by
Michael Tokarev. Michael Tokarev.

View file

@ -1277,6 +1277,12 @@ ssl_handshake(struct comm_point* c)
if(errno == ECONNRESET && verbosity < 2) if(errno == ECONNRESET && verbosity < 2)
return 0; /* silence reset by peer */ return 0; /* silence reset by peer */
#endif #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) if(errno != 0)
log_err("SSL_handshake syscall: %s", log_err("SSL_handshake syscall: %s",
strerror(errno)); strerror(errno));