Open rzhy1 opened 1 month ago
Can it be compiled with wintls?
I assume you mean to interface with schannel.h
? libcurl can use SChannel, so it would be possible in Wget/Wget2 too.
Ref. the Virtual TLS layer in libcurl.
When wget.exe and aria2c.exe adopt wintls, the download speed is significantly faster in Windows,
How have you proven this?
Using curl.exe
with a set CURL_SSL_BACKEND=schannel
, is IMO no faster than e.g. openssl
, mbedtls
etc.
You can download wget(openssl) here : https://eternallybored.org/misc/wget/1.21.4/64/wget.exe
You can download wget(wintls) here: https://github.com/lifenjoiner/wget-for-windows/actions/runs/10006982087/artifacts/1718800350
Now you can download the same link and compare their download speeds, provided they are both on Windows.
Windows Defender blocks the latter .zip-file!
The wget (wintls) compiled by someone else that doesn't have a virus, you can temporarily disable Windows Defender and try again.
wget2 naively supports wolfssl as an alternative ssl engine you might want to try compiling with that to see how it compares.
Can it be compiled with wintls? When wget.exe and aria2c.exe adopt wintls, the download speed is significantly faster in Windows, I wonder if this is possible for wget2.exe? Related link for wget: https://github.com/lifenjoiner/wget-for-windows