curl-library
Re: libcurl: how to discard response data from an upload?
From: Apurva Mehta <apurva_at_mathmeth.com>
Date: Tue, 17 Feb 2009 12:55:45 -0800
Date: Tue, 17 Feb 2009 12:55:45 -0800
> On Tue, Feb 17, 2009 at 1:08 PM, Apurva Mehta <apurva_at_mathmeth.com>
> wrote:
>
>> What else can I do to prevent the response data from being written
>> to stdout?
>
> Set up an empty CURLOPT_WRITEFUNCTION that just returns size*nmemb.
Ah. That works well. It makes me feel kinda silly not to think of
that :-).
Thanks!
Apurva
Received on 2009-02-17