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

-- 
  / 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-24