cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Capture message in buffer when setting up CURLOPT_VERBOSE

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 9 Aug 2005 00:19:39 +0200 (CEST)

On Mon, 8 Aug 2005, Jack Rong wrote:

> I have been looking for ways to capture message in the buffer instead of
> letting it print out to the console output when using the the option such
> as,
>
> curl_easy_setopt(curlhandler, CURLOPT_VERBOSE, 1);
>
> Anybody has suggestion?

If you truly want to capture the verbose messages, you should use
CURLOPT_DEBUGFUNCTION.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-08-09