cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple calls to curl_easy_perform()

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 19 Feb 2004 15:52:55 +0100 (CET)

On Thu, 19 Feb 2004, [iso-8859-2] Miko?aj Rydzewski wrote:

> Do I have to reset all options with curl_easy_setopt before fetching another
> url? Or maybe some options stays during multiple calls to perform()?

curl_easy_perform() doesn't change any settings, they remain set the way you
set them until you change them.

Also make sure that the data you pass in pointers (char *) to must remain
present until perform() is done, as it doesn't copy that data.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-19