From c6bf4c235542ebcfd1893264d9fde4322e64cd5d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Sat, 18 May 2019 23:18:06 +0200 Subject: [PATCH] minicurl: correct comment --- pdns/minicurl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/minicurl.cc b/pdns/minicurl.cc index e8ba8e9ed..740940a57 100644 --- a/pdns/minicurl.cc +++ b/pdns/minicurl.cc @@ -103,7 +103,7 @@ void MiniCurl::setupURL(const std::string& str, const ComboAddress* rem, const C curl_easy_setopt(d_curl, CURLOPT_INTERFACE, src->toString().c_str()); } curl_easy_setopt(d_curl, CURLOPT_FOLLOWLOCATION, true); - /* only allow HTTP, TFTP and SFTP */ + /* only allow HTTP and HTTPS */ curl_easy_setopt(d_curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); curl_easy_setopt(d_curl, CURLOPT_SSL_VERIFYPEER, false); curl_easy_setopt(d_curl, CURLOPT_SSL_VERIFYHOST, false); -- 2.40.0