cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple calls to curl_easy_perform()

From: Mikołaj Rydzewski <mikolajr_at_becomo.com>
Date: Thu, 19 Feb 2004 15:42:39 +0100

Daniel Stenberg wrote:

> > Second call returns the same page as the first one. Does libcurl clear all
> > options after making perform()?
>
> This has been done by numerous people all over. The curl command line tool
> does it even, used frequently all over.
>
> Please provide a full source code example (as small as possible) that shows
> the problem and I'm sure we can find the flaw.

I will have to recheck my code ;-)

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()?

> Also, make sure you use a recent libcurl version.

7.11.0

--
Mikolaj Rydzewski
Becomo S.A.
Grupa TELEKOMUNIKACJA POLSKA
tel. (12) 2927104
Received on 2004-02-19