cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Perl multicurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 May 2009 13:32:51 +0200 (CEST)

On Fri, 8 May 2009, kenny.billiau_at_ugent.be wrote:

> [dave_at_hal ~]$ curl-config --version
> libcurl 7.15.5

Then allow me to guess that the problem is found in this description:

        Strings passed to libcurl as ¢char *¢ arguments, are copied by the
        library; thus the string storage associated to the pointer argument may
        be overwritten after curl_easy_setopt() returns. Exceptions to this
        rule are described in the option details below.

        NOTE: before 7.17.0 strings were not copied. Instead the user was
        forced keep them available until libcurl no longer needed them.

-- 
  / daniel.haxx.se
Received on 2009-05-08