From 66a98861d0fbb7cba742b63bf97268a2a619c5e0 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Sat, 10 Aug 2024 15:51:34 +0200 Subject: Some small updates here and there --- src/bundleparquet/spliturl.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/bundleparquet/spliturl.cpp') diff --git a/src/bundleparquet/spliturl.cpp b/src/bundleparquet/spliturl.cpp index 91f897d..2b35d4c 100644 --- a/src/bundleparquet/spliturl.cpp +++ b/src/bundleparquet/spliturl.cpp @@ -122,16 +122,6 @@ std::optional splitUrl(const std::string &url, std::string *error) { schemehost = curl_url_dup(parsed); - // CURL BUG WORKAROUND: CURLUPART_ZONEID is NOT copied by curl_url_dup! - // ^ fixed in CURL 8.3.0 after https://curl.se/mail/lib-2023-07/0047.html - rc = curl_url_get(parsed, CURLUPART_ZONEID, &zoneid, 0); - if (rc == CURLUE_OK) { - rc = curl_url_set(schemehost, CURLUPART_ZONEID, zoneid, 0); - if (rc != CURLUE_OK) { - errs << "Could not copy zone ID to duplicated URL: " << curl_url_strerror(rc); - goto Exit; - } - } rc = curl_url_set(schemehost, CURLUPART_PORT, nullptr, 0); if (rc != CURLUE_OK) { errs << "Could not unset port in duplicated URL: " << curl_url_strerror(rc); -- cgit v1.2.3