cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple curl handles and URL address

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 24 Mar 2006 08:59:27 +0100 (CET)

On Thu, 23 Mar 2006, sujata singh wrote:

> Does the dynamically allocated memory copy of curl handle is loosing the URL
> id that it is supposed to be associated with it?

Allow me to quote from the third paragraph in the curl_easy_setopt man page:

  "Strings passed to libcurl as 'char *' arguments, will not be copied by the
  library. Instead you should keep them available until libcurl no longer needs
  them."

Doesn't this answer your question?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-03-24