CURLE_COULDNT_RESOLVE_HOST from CURLU API on https://www.google.com

2021-08-19 Thread Samuel Marks via curl-library
I'm writing a tiny libcurl wrapper. I use curl_slist for headers, and your CURLU (URL API) for urls. https://github.com/SamuelMarks/curl-simple-https In https://github.com/SamuelMarks/curl-simple-https/blob/90e16a9/libcurl_simple_https/curl_simple_https.c the relevant lines that my `https_get` fu

Re: CURLE_COULDNT_RESOLVE_HOST from CURLU API on https://www.google.com

2021-08-19 Thread Samuel Marks via curl-library
wrote: > On Fri, 20 Aug 2021, Samuel Marks via curl-library wrote: > > > curl_easy_setopt(curl, CURLOPT_URL, urlp); > > From the CURLOPT_URL man page: > >Pass in a pointer to the URL to work with. The parameter should be a > char * >to a null-terminated string whi