cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl: how to discard response data from an upload?

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Tue, 17 Feb 2009 13:40:07 -0600

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.

 - Jeff
Received on 2009-02-17