curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: Read ~/.netrc only once

From: Daniel Stenberg via curl-users <>
Date: Mon, 24 May 2021 11:32:47 +0200 (CEST)

On Sun, 23 May 2021, Morten Kjśrulff via curl-users wrote:

> strace curl -n --ntlm --netrc-file ~/.netrc http://mysite/... | grep \.netrc
> (--ntlm instead of --anyauth)

It will be opened and read once per connection, so I presume your auth use
there forces curl to create more than one connection to perform the transfer.

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features

Received on 2021-05-24