curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Usage of CURLOPT_ERRORBUFFER

From: Martin Galvan via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 23 Dec 2017 17:53:30 -0300

2017-12-23 17:29 GMT-03:00 David Chapman <dcchapman_at_acm.org>:
> This isn't an odd choice at all; a libcurl session could be active for a
> very long time, and there may be many errors reported. The buffer would be
> used each time there is an error.

I see. The way I understood it, it seemed like the buffer could be
modified by libcurl somehow after curl_easy_perform returns. Now it
makes sense; though perhaps the text could be reworded to indicate
that you must make sure the buffer exists in memory by the time you
call curl_easy_perform.

Anyway, thanks!
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-23