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: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 20 Aug 2021 07:51:23 +0200 (CEST)

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