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: Sun, 23 May 2021 18:55:18 +0200 (CEST)

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

> This will do the same:
> curl -n --anyauth --netrc-file ~/.netrc

> I assume this is because curl reads the file more than once.

When I try that command line and set a break-point in Curl_parsenetrc() I
only see it called once.

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

Received on 2021-05-23