]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/lwres.cc
TCPIOHandler: Handle validation of IP addresses in certificates
[thirdparty/pdns.git] / pdns / lwres.cc
index 0e42dc1dc34560815ad38c9914e2347000375484..933b469b8762433ef2d15456a6aa3abc1125a035 100644 (file)
@@ -275,7 +275,7 @@ static bool tcpconnect(const struct timeval& now, const ComboAddress& ip, TCPOut
       dnsOverTLS = false;
     }
   }
-  connection.d_handler = std::make_shared<TCPIOHandler>(nsName, s.releaseHandle(), timeout, tlsCtx, now.tv_sec);
+  connection.d_handler = std::make_shared<TCPIOHandler>(nsName, false, s.releaseHandle(), timeout, tlsCtx, now.tv_sec);
   // Returned state ignored
   // This can throw an exception, retry will need to happen at higher level
   connection.d_handler->tryConnect(SyncRes::s_tcp_fast_open_connect, ip);