curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

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

From: Samuel Marks via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 20 Aug 2021 15:55:29 +1000

Perfect, that's it!

Thanks,

Samuel Marks
Charity <https://sydneyscientific.org> | consultancy <https://offscale.io>
| open-source <https://github.com/offscale> | LinkedIn
<https://linkedin.com/in/samuelmarks>


On Fri, Aug 20, 2021 at 3:51 PM Daniel Stenberg <daniel_at_haxx.se> 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 which must be URL-encoded
>
> You seem to have intended to use CURLOPT_CURLU?
>
> --
>
> / daniel.haxx.se
> | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> | https://curl.se/support.html
>


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-20