curlcommand-line-arguments

What is meaning of -vvv option in cURL request


According to cURL documentation http://curl.haxx.se/docs/manpage.html

-v, --verbose

Makes the fetching more verbose/talkative.

But I came across

curl -vvv -u name@foo.com:password http://www.example.com 

What is the difference between -v and -vvv?


Solution

  • As of curl 8.10 -vvv is a thing

    https://curl.se/docs/manpage.html#-v

    Since curl 8.10, mentioning this option several times in the same argument increases the level of the trace output.

    Using it twice, e.g. "-vv", outputs time (--trace-time) and transfer ids (--trace-ids), as well as enable tracing for all protocols (--trace-config protocol).

    Adding a third verbose outputs transfer content (--trace-ascii %) and enable tracing of more components (--trace-config read,write,ssl).

    A forth time adds tracing of all network components. (--trace-config network).