cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curlopt_verbose does not output any msgs

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Thu, 17 Sep 2009 18:18:32 +0200

On Thu September 17 2009 17:04:59 Gokul Krishna wrote:
> Hi,
> i am running libcurl 7.19.3 compiled with openssl and libssh2 support on a
> mac os x 10.5 machine.
> I am trying to upload a file to a https url using put. The upload is never
> finished and seems to hang.
> i tried setting curlopt_verbose to 1 to see if i could figure out
> something. However no information is printed by setting it.
>
> This curl library is not compiled with debug information. Does this affect
> the behaviour of the verbose option?

Not sure. But the verbose output should be definitely available even without
the debug information. The verbose output is sent to standard error output by
default. Are you able to print anything else to stderr? You can try to route
the verbose output to another file by the CURLOPT_STDERR option:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTSTDERR

Kamil
Received on 2009-09-17