cURL / Mailing Lists / curl-library / Single Mail


Re: bug in curl_easy_perform

From: Daniel Stenberg <>
Date: Fri, 24 Aug 2001 08:35:30 +0200 (MET DST)

On Thu, 23 Aug 2001, Oleg Bartunov wrote:

> do you think this problem could be related with my 'weird timings' one ?

Unfortunately, I don't think so.

This particular bug occurs when you invoke curl_easy_perform() a second time
on the same handle, when the previous invoke followed a HTTP Location:

  curl_easy_perform(handle); /* get a web page, it follows a location */
  curl_easy_setopt(handle, CURLOPT_URL, "http://moooo");

  curl_easy_perform(handle); /* this will attempt to free() the static string
                                passed to it above */

    Daniel Stenberg -- curl groks URLs --
Received on 2001-08-24