Skip to content

Commit

Permalink
- Fix #673: DNS over TLS: error: SSL_handshake syscall: No route to
Browse files Browse the repository at this point in the history
  host.
  • Loading branch information
wcawijngaards committed May 11, 2022
1 parent 77149fc commit f0d9195
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 6 additions & 0 deletions util/netevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f0d9195

Please sign in to comment.