Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

supressing output from CURLOPT_NOBODY when it has been set to 1

From: John Utz <>
Date: Fri, 8 Oct 2010 14:54:12 -0700


  curl_easy_setopt(g_pCrl, CURLOPT_NOBODY, 1L);

Is a wonderful thing! However, it prints to stdout:

  Content-Length: 209289216
  Accept-ranges: bytes

I've dug into the source, and this buffer is written in lib/ftp.c and passed toCurl_client_write() in lib/sendf.c and it seems to be callback related.

I would like to not have it print to stdout, is there a callback that i can implement that will replace this default behavior?

tnx in advance for any information you all can provide!


List admin:
Received on 2010-10-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET