curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: [Question] How to convince libcurl to output verbose

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 10 Jul 2024 11:46:33 +0200 (CEST)

On Tue, 9 Jul 2024, Randall via curl-library wrote:

> I have a situation where I have a proxy using libcurl taking commands from
> git. The connection is failing but I cannot determine why. What would help
> is being able to turn on verbose output in libcurl. The difficulty I have I
> that the code is not within my control. Is there a command line or setting
> in .curlrc that will enable verbose output?

There is no outside way to force libcurl to be verbose other than using the
API. Thus, the application needs to enable it.

In git's case, they offer the GIT_CURL_VERBOSE variable that enables libcurl's
verbose mode.

Mentioned here:

   https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-07-10