Closed
Description
I did this
curl --parallel-max 1 -Z --fail --fail-early https://curl.se/nothere[1-3]
I expected the following
Stop as soon as one as we know something failed, and return a non-0 exit code.
What actually happens
curl will attempt every single url, and then exit with a 0.
curl/libcurl version
I did it on master:
curl 7.77.0-DEV (x86_64-apple-darwin19.6.0) libcurl/7.77.0-DEV OpenSSL/1.1.1k
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets
But also other version.
operating system
Darwin BLAH 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,1 Darwin