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 <curl-users_at_cool.haxx.se>
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 http://example.com

> 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.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/


-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-05-23