From net|kj@ @end|ng |rom gm@||@com  Thu Feb 10 16:53:04 2022
From: net|kj@ @end|ng |rom gm@||@com (=?UTF-8?Q?Jan_Net=C3=ADk?=)
Date: Thu, 10 Feb 2022 16:53:04 +0100
Subject: [Rd] rtools40 curl cannot handle -w variables
Message-ID: <CA+6hu7dGcmGHAGf4LwTb0M3ssgMXyEiph1DAUGLn1UcVNcC0KA@mail.gmail.com>

Hi,

I get different results when using Windows curl and curl shipped with
rtools40.

curl -Ls -o nul -w %{url_effective} --connect-timeout 30 --max-time 30
> https://mirror.ctan.org


returns %url_effective when in fact it shoud return the actual URL. With
Windows curl, it works just fine.

It could be due to old curl shipped with rtools40: curl 7.64.1
(x86_64-pc-msys) libcurl/7.64.1 OpenSSL/1.1.1k zlib/1.2.11, Windows
uses curl 7.79.1 (Windows) libcurl/7.79.1 Schannel.

It seems that system2() uses rtools40 curl and this renders many things
erroneous. Any thoughts on this?

Best regards
Jan

	[[alternative HTML version deleted]]



[Rd] rtools40 curl cannot handle -w variables
=?UTF-8?Q?Jan_Net=C3=ADk?=