-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
I did this
Start PowerShell 7.3.0 under the MS Windows and execute commands:
PS >
.\curl.exe --progress-bar `
--remote-name `
--dump-header "Header32.txt" `
"https://curl.se/windows/dl-7.86.0_2/curl-7.86.0_2-win32-mingw.zip" `
--next `
--remote-name `
--dump-header "Header64.txt" `
"https://curl.se/windows/dl-7.86.0_2/curl-7.86.0_2-win64-mingw.zip" `
--next `
--remote-name `
--dump-header "Header96.txt" `
"https://curl.se/windows/dl-7.86.0_2/curl-7.86.0_2-win64a-mingw.zip"
32, 64, 96 | %{(Get-Content -LiteralPath Header$_.txt).Count}
################################################################################ 100,0%
################################################################################ 100,0%
################################################################################ 100,0%
22
22
22
Repeat all above:
22
44
44
Repeat again:
22
66
66
And so on. All but the first header dump has incorrect content.
I expected the following
All header dumps contain an equal number of lines (22). Always.
curl/libcurl version
Build: 7.86.0_2
[curl -V output]
curl 7.86.0 (x86_64-w64-mingw32) libcurl/7.86.0 OpenSSL/3.0.7 (Schannel) zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 WinIDN libssh2/1.10.0 nghttp2/1.51.0 ngtcp2/0.11.0 nghttp3/0.7.1 libgsasl/2.2.0
Release-Date: 2022-10-26
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI threadsafe TLS-SRP UnixSockets zstd
operating system
MS Windows 10 last version with all updates