curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about CURLOPT_ERRORBUFFER

From: Martin Galvan <omgalvan.86_at_gmail.com>
Date: Mon, 4 Jun 2018 18:14:12 -0300

2018-06-04 18:09 GMT-03:00 Rich Gray <rgray_at_plustechnologies.com>:
> I believe it means don't do things like set it to an automatic variable in a
> function and then call libcurl after exiting the function. Don't point it
> at malloc'd space and then call libcurl after freeing said space, etc.
>
> Rich

Yeah, that would make more sense, but I'd hope the docs would be a bit
more explicit about it. Is there a chance of libcurl needing this to
be alive after calling curl_easy_perform?
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-06-04