diff options
author | Rutger Broekhoff | 2024-08-10 15:51:34 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2024-08-10 15:51:34 +0200 |
commit | 66a98861d0fbb7cba742b63bf97268a2a619c5e0 (patch) | |
tree | 433513c7f875c43a81bd4efe379fffc3e8d4c5ce /src/bundleparquet | |
parent | 279f790f078325582aa62e562a766204034766e4 (diff) | |
download | oeuf-66a98861d0fbb7cba742b63bf97268a2a619c5e0.tar.gz oeuf-66a98861d0fbb7cba742b63bf97268a2a619c5e0.zip |
Some small updates here and there
Diffstat (limited to 'src/bundleparquet')
-rw-r--r-- | src/bundleparquet/spliturl.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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> splitUrl(const std::string &url, std::string *error) { | |||
122 | 122 | ||
123 | schemehost = curl_url_dup(parsed); | 123 | schemehost = curl_url_dup(parsed); |
124 | 124 | ||
125 | // CURL BUG WORKAROUND: CURLUPART_ZONEID is NOT copied by curl_url_dup! | ||
126 | // ^ fixed in CURL 8.3.0 after https://curl.se/mail/lib-2023-07/0047.html | ||
127 | rc = curl_url_get(parsed, CURLUPART_ZONEID, &zoneid, 0); | ||
128 | if (rc == CURLUE_OK) { | ||
129 | rc = curl_url_set(schemehost, CURLUPART_ZONEID, zoneid, 0); | ||
130 | if (rc != CURLUE_OK) { | ||
131 | errs << "Could not copy zone ID to duplicated URL: " << curl_url_strerror(rc); | ||
132 | goto Exit; | ||
133 | } | ||
134 | } | ||
135 | rc = curl_url_set(schemehost, CURLUPART_PORT, nullptr, 0); | 125 | rc = curl_url_set(schemehost, CURLUPART_PORT, nullptr, 0); |
136 | if (rc != CURLUE_OK) { | 126 | if (rc != CURLUE_OK) { |
137 | errs << "Could not unset port in duplicated URL: " << curl_url_strerror(rc); | 127 | errs << "Could not unset port in duplicated URL: " << curl_url_strerror(rc); |